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

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

(limited to 'revert/diaries_update_timestamp.sql')

diff --git a/revert/diaries_update_timestamp.sql b/revert/diaries_update_timestamp.sql
new file mode 100644
index 0000000..61789d0
--- /dev/null
+++ b/revert/diaries_update_timestamp.sql
@@ -0,0 +1,9 @@
+-- Revert photos:diaries_update_timestamp from pg
+
+BEGIN;
+
+SET search_path to photos;
+
+DROP TRIGGER update_timestamp ON diaries;
+
+COMMIT;
-- 
cgit v1.2.3

