* Reorganize the db migration .sql scripts into individual schema version directories and generate the sql httpfs fakeFile accordingly. * Created a /dev schema version directory to hold db schema updates that have not been finalized. * Add an 'allow-development-migrations' flag to allow `boundary database init` to be executed even when there are schema updates in /dev.
20 lines
337 B
PL/PgSQL
20 lines
337 B
PL/PgSQL
begin;
|
|
|
|
drop table host_set;
|
|
drop table host;
|
|
drop table host_catalog;
|
|
|
|
drop function insert_host_set_subtype;
|
|
drop function insert_host_subtype;
|
|
drop function insert_host_catalog_subtype;
|
|
|
|
delete
|
|
from oplog_ticket
|
|
where name in (
|
|
'host_catalog',
|
|
'host',
|
|
'host_set'
|
|
);
|
|
|
|
commit;
|