aboutsummaryrefslogtreecommitdiff
path: root/revert
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-03-12 02:52:57 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-03-12 02:52:57 +0900
commit59e39e0088fc71225a0d5b4b1ca7df6ec9ec4659 (patch)
tree900227533d65e277b408df911cc7df446edaff16 /revert
parent1fd13d3895ba1274c1754379b3003b1e4f9840ab (diff)
Rename article_tags to tags.
Diffstat (limited to 'revert')
-rw-r--r--revert/article_tags.sql9
-rw-r--r--revert/article_tags_update_updated_at.sql9
-rw-r--r--revert/tags.sql9
-rw-r--r--revert/tags_update_updated_at.sql9
4 files changed, 18 insertions, 18 deletions
diff --git a/revert/article_tags.sql b/revert/article_tags.sql
deleted file mode 100644
index 57478d0..0000000
--- a/revert/article_tags.sql
+++ /dev/null
@@ -1,9 +0,0 @@
--- Revert diary:article_tags from pg
-
-BEGIN;
-
-SET search_path to diary;
-
-DROP TABLE article_tags;
-
-COMMIT;
diff --git a/revert/article_tags_update_updated_at.sql b/revert/article_tags_update_updated_at.sql
deleted file mode 100644
index 7a668ab..0000000
--- a/revert/article_tags_update_updated_at.sql
+++ /dev/null
@@ -1,9 +0,0 @@
--- Revert diary:article_tags_update_updated_at from pg
-
-BEGIN;
-
-SET search_path to diary;
-
-DROP TRIGGER update_updated_at ON article_tags;
-
-COMMIT;
diff --git a/revert/tags.sql b/revert/tags.sql
new file mode 100644
index 0000000..f3926b4
--- /dev/null
+++ b/revert/tags.sql
@@ -0,0 +1,9 @@
+-- Revert diary:tags from pg
+
+BEGIN;
+
+SET search_path to diary;
+
+DROP TABLE tags;
+
+COMMIT;
diff --git a/revert/tags_update_updated_at.sql b/revert/tags_update_updated_at.sql
new file mode 100644
index 0000000..d9ef214
--- /dev/null
+++ b/revert/tags_update_updated_at.sql
@@ -0,0 +1,9 @@
+-- Revert diary:tags_update_updated_at from pg
+
+BEGIN;
+
+SET search_path to diary;
+
+DROP TRIGGER update_updated_at ON tags;
+
+COMMIT;