From eaee68ba5ffed646f51779e829163dc339d602a7 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Thu, 31 Aug 2023 00:40:54 +0900 Subject: Add update_timestamp trigger to transactions table --- revert/transactions_update_timestamp.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 revert/transactions_update_timestamp.sql (limited to 'revert') diff --git a/revert/transactions_update_timestamp.sql b/revert/transactions_update_timestamp.sql new file mode 100644 index 0000000..4c60c2f --- /dev/null +++ b/revert/transactions_update_timestamp.sql @@ -0,0 +1,9 @@ +-- Revert photos:transactions_update_timestamp from pg + +BEGIN; + +SET search_path to photos; + +DROP TRIGGER update_timestamp ON transactions; + +COMMIT; -- cgit v1.2.3