From 248017b5b50f4e00c909abc234ed71b4dced9f37 Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Mon, 13 Mar 2023 00:49:16 +0900
Subject: Add foreign key constraint to transactions table referencing types
 table.

---
 verify/transactions@v1.0.0-alpha.2.sql | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 verify/transactions@v1.0.0-alpha.2.sql

(limited to 'verify/transactions@v1.0.0-alpha.2.sql')

diff --git a/verify/transactions@v1.0.0-alpha.2.sql b/verify/transactions@v1.0.0-alpha.2.sql
new file mode 100644
index 0000000..3f5b58f
--- /dev/null
+++ b/verify/transactions@v1.0.0-alpha.2.sql
@@ -0,0 +1,15 @@
+-- Verify kakeibo:transactions on pg
+
+BEGIN;
+
+SELECT id,
+       type_code,
+       date,
+       note,
+       created_at,
+       updated_at,
+       article_id
+  FROM kakeibo.transactions
+ WHERE FALSE;
+
+ROLLBACK;
-- 
cgit v1.2.3

