assert databasechangelog rowcount
This commit is contained in:
parent
680f5d04d1
commit
94f5f1229e
@ -4,5 +4,16 @@
|
||||
-- ============================================================================
|
||||
--changeset michael.hoennig:base-SCHEMA endDelimiter:--//
|
||||
-- ----------------------------------------------------------------------------
|
||||
|
||||
-- FIXME: remove this block
|
||||
do $$
|
||||
declare
|
||||
changesetCount int;
|
||||
begin
|
||||
changesetCount := (select count(*) from databasechangelog);
|
||||
assert changesetCount = 0, 'total changesets executed: ' || changesetCount;
|
||||
end;
|
||||
$$;
|
||||
|
||||
CREATE SCHEMA base;
|
||||
--//
|
||||
|
Loading…
Reference in New Issue
Block a user