-- 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;
