aboutsummaryrefslogtreecommitdiff
path: root/verify/kakeibo.articles_update_timestamp.sql
blob: f1952b3167ebc883f0a3b9c4ce51b71f1d2f17a9 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- Verify kakeibo:articles_update_timestamp on pg

BEGIN;

DO $$
  BEGIN
    ASSERT (SELECT 1 from information_schema.triggers
             WHERE trigger_schema = 'kakeibo'
               AND event_object_table = 'articles'
               AND trigger_name = 'update_timestamp');
  END
$$;

ROLLBACK;