From b6d633011163002c2923f3809cd5ead2c53e2aa3 Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Wed, 30 Aug 2023 00:19:17 +0900
Subject: Add update_timestamp trigger to photos table

---
 revert/photos_update_timestamp.sql | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 revert/photos_update_timestamp.sql

(limited to 'revert/photos_update_timestamp.sql')

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;
-- 
cgit v1.2.3

