Create Schema Manager and propagate contexts into the DB calls downstream. Add checks at controller startup and database init for correct schema version and schema migration dirty bit being set.
18 lines
360 B
PL/PgSQL
18 lines
360 B
PL/PgSQL
begin;
|
|
|
|
drop table static_host_set_member cascade;
|
|
drop table static_host_set cascade;
|
|
drop table static_host cascade;
|
|
drop table static_host_catalog cascade;
|
|
|
|
delete
|
|
from oplog_ticket
|
|
where name in (
|
|
'static_host_catalog',
|
|
'static_host',
|
|
'static_host_set',
|
|
'static_host_set_member'
|
|
);
|
|
|
|
commit;
|