aboutsummaryrefslogtreecommitdiff
path: root/verify
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-03-16 03:07:05 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-03-16 03:07:05 +0900
commit6fcbad753b6b513f74fa15c252d752f30491e519 (patch)
treeeb07310403b2a9dd948d0645de33af372cdd0bea /verify
parent2fb413587fc1d34045a8724b0aac60e8e8051560 (diff)
Add table to link articles.
Diffstat (limited to 'verify')
-rw-r--r--verify/article_links.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/verify/article_links.sql b/verify/article_links.sql
new file mode 100644
index 0000000..f3fe4a0
--- /dev/null
+++ b/verify/article_links.sql
@@ -0,0 +1,11 @@
+-- Verify diary:article_links on pg
+
+BEGIN;
+
+SET search_path to diary;
+
+SELECT article_id, linked_article_id
+ FROM article_links
+ WHERE FALSE;
+
+ROLLBACK;