From 70304b1903cc5b1accd9caea229e59901384203a Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Tue, 28 Mar 2023 01:29:08 +0900
Subject: Add `kakeibo.` prefix.

---
 .../kakeibo.articles_update_timestamp@v1.0.0-alpha.3.sql   | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 verify/kakeibo.articles_update_timestamp@v1.0.0-alpha.3.sql

(limited to 'verify/kakeibo.articles_update_timestamp@v1.0.0-alpha.3.sql')

diff --git a/verify/kakeibo.articles_update_timestamp@v1.0.0-alpha.3.sql b/verify/kakeibo.articles_update_timestamp@v1.0.0-alpha.3.sql
new file mode 100644
index 0000000..f1952b3
--- /dev/null
+++ b/verify/kakeibo.articles_update_timestamp@v1.0.0-alpha.3.sql
@@ -0,0 +1,14 @@
+-- Verify kakeibo:articles_update_timestamp on pg
+
+BEGIN;
+
+DO $$
+  BEGIN
+    ASSERT (SELECT 1 from information_schema.triggers
+             WHERE trigger_schema = 'kakeibo'
+               AND event_object_table = 'articles'
+               AND trigger_name = 'update_timestamp');
+  END
+$$;
+
+ROLLBACK;
-- 
cgit v1.2.3

