summaryrefslogtreecommitdiff
path: root/revert
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2023-08-30 00:19:17 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2023-10-13 02:12:48 +0900
commitb6d633011163002c2923f3809cd5ead2c53e2aa3 (patch)
tree292cdcf7a5ca96b059c6dd7b751104e48f11cef3 /revert
parent6d6f4546b0cda266e6f5e6f2cda783da985dfb00 (diff)
Add update_timestamp trigger to photos table
Diffstat (limited to 'revert')
-rw-r--r--revert/photos_update_timestamp.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/revert/photos_update_timestamp.sql b/revert/photos_update_timestamp.sql
new file mode 100644
index 0000000..9e5561d
--- /dev/null
+++ b/revert/photos_update_timestamp.sql
@@ -0,0 +1,9 @@
+-- Revert photos:photos_update_timestamp from pg
+
+BEGIN;
+
+SET search_path to photos;
+
+DROP TRIGGER update_timestamp ON photos;
+
+COMMIT;