blob: 622076e9f92138f586bc10f7a69d16ca843cccb7 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
-- Deploy diary:article_links to pg
-- requires: schema
-- requires: articles
BEGIN;
SET search_path to diary;
CREATE TABLE article_links(
article_id UUID REFERENCES articles(id),
linked_article_id UUID REFERENCES articles(id),
PRIMARY KEY(article_id, linked_article_id)
);
COMMIT;
|