-- Verify kakeibo:items_update_timestamp on pg

BEGIN;

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

ROLLBACK;
