aboutsummaryrefslogtreecommitdiff
path: root/verify
diff options
context:
space:
mode:
Diffstat (limited to 'verify')
-rw-r--r--verify/tags.sql (renamed from verify/article_tags.sql)4
-rw-r--r--verify/tags_update_updated_at.sql (renamed from verify/article_tags_update_updated_at.sql)4
2 files changed, 4 insertions, 4 deletions
diff --git a/verify/article_tags.sql b/verify/tags.sql
index 46119c3..5d6b174 100644
--- a/verify/article_tags.sql
+++ b/verify/tags.sql
@@ -1,11 +1,11 @@
--- Verify diary:article_tags on pg
+-- Verify diary:tags on pg
BEGIN;
SET search_path to diary;
SELECT id, name, created_at, updated_at
- FROM article_tags
+ FROM tags
WHERE FALSE;
ROLLBACK;
diff --git a/verify/article_tags_update_updated_at.sql b/verify/tags_update_updated_at.sql
index 7ee95db..e6940ce 100644
--- a/verify/article_tags_update_updated_at.sql
+++ b/verify/tags_update_updated_at.sql
@@ -1,4 +1,4 @@
--- Verify diary:article_tags_update_updated_at on pg
+-- Verify diary:tags_update_updated_at on pg
BEGIN;
@@ -6,7 +6,7 @@ DO $$
BEGIN
ASSERT (SELECT 1 from information_schema.triggers
WHERE trigger_schema = 'diary'
- AND event_object_table = 'article_tags'
+ AND event_object_table = 'tags'
AND trigger_name = 'update_updated_at');
END
$$;