aboutsummaryrefslogtreecommitdiff
path: root/revert/items_update_timestamp.sql
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2023-03-12 23:16:42 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2023-03-12 23:38:13 +0900
commita4a99033f2d3eb7e6d03387fe7e6618604885776 (patch)
tree1d15217fa34aa96327436d3bb237a2750601ecfb /revert/items_update_timestamp.sql
parenta9c3438a20e7eccfdd31414c2c71092ddda8f705 (diff)
Add update_timestamp trigger to items table.
Diffstat (limited to 'revert/items_update_timestamp.sql')
-rw-r--r--revert/items_update_timestamp.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/revert/items_update_timestamp.sql b/revert/items_update_timestamp.sql
new file mode 100644
index 0000000..52ce12f
--- /dev/null
+++ b/revert/items_update_timestamp.sql
@@ -0,0 +1,7 @@
+-- Revert kakeibo:items_update_timestamp from pg
+
+BEGIN;
+
+DROP TRIGGER update_timestamp ON kakeibo.items;
+
+COMMIT;