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.

---
 revert/kakeibo.items_update_timestamp.sql | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 revert/kakeibo.items_update_timestamp.sql

(limited to 'revert/kakeibo.items_update_timestamp.sql')

diff --git a/revert/kakeibo.items_update_timestamp.sql b/revert/kakeibo.items_update_timestamp.sql
new file mode 100644
index 0000000..f9258b2
--- /dev/null
+++ b/revert/kakeibo.items_update_timestamp.sql
@@ -0,0 +1,12 @@
+-- Deploy kakeibo:items_update_timestamp to pg
+-- requires: items
+-- requires: update_timestamp
+
+BEGIN;
+
+CREATE OR REPLACE TRIGGER update_timestamp
+  BEFORE UPDATE ON kakeibo.items
+  FOR EACH ROW
+  EXECUTE FUNCTION kakeibo.update_timestamp();
+
+COMMIT;
-- 
cgit v1.2.3

