aboutsummaryrefslogtreecommitdiff
path: root/deploy/articles_update_updated_at.sql
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/articles_update_updated_at.sql')
-rw-r--r--deploy/articles_update_updated_at.sql15
1 files changed, 0 insertions, 15 deletions
diff --git a/deploy/articles_update_updated_at.sql b/deploy/articles_update_updated_at.sql
deleted file mode 100644
index 31b7ccd..0000000
--- a/deploy/articles_update_updated_at.sql
+++ /dev/null
@@ -1,15 +0,0 @@
--- Deploy diary:articles_update_updated_at to pg
--- requires: schema
--- requires: articles
--- requires: update_updated_at
-
-BEGIN;
-
-SET search_path to diary;
-
-CREATE OR REPLACE TRIGGER update_updated_at
- BEFORE UPDATE ON articles
- FOR EACH ROW
- EXECUTE FUNCTION update_updated_at();
-
-COMMIT;