From 59e39e0088fc71225a0d5b4b1ca7df6ec9ec4659 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Tue, 12 Mar 2024 02:52:57 +0900 Subject: Rename article_tags to tags. --- revert/article_tags.sql | 9 --------- revert/article_tags_update_updated_at.sql | 9 --------- revert/tags.sql | 9 +++++++++ revert/tags_update_updated_at.sql | 9 +++++++++ 4 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 revert/article_tags.sql delete mode 100644 revert/article_tags_update_updated_at.sql create mode 100644 revert/tags.sql create mode 100644 revert/tags_update_updated_at.sql (limited to 'revert') 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; -- cgit v1.2.3