aboutsummaryrefslogtreecommitdiff
path: root/revert
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-03-11 01:09:12 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-03-11 01:09:12 +0900
commit1fd13d3895ba1274c1754379b3003b1e4f9840ab (patch)
treef62cac581bd047dd1e951da1b6a1f8adf08c9c39 /revert
parent8fdc5179b1d5ba075c74f28337f1c83e28240ed2 (diff)
Add update_updated_at trigger to article_tags table.
Diffstat (limited to 'revert')
-rw-r--r--revert/article_tags_update_updated_at.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/revert/article_tags_update_updated_at.sql b/revert/article_tags_update_updated_at.sql
new file mode 100644
index 0000000..7a668ab
--- /dev/null
+++ b/revert/article_tags_update_updated_at.sql
@@ -0,0 +1,9 @@
+-- Revert diary:article_tags_update_updated_at from pg
+
+BEGIN;
+
+SET search_path to diary;
+
+DROP TRIGGER update_updated_at ON article_tags;
+
+COMMIT;