* 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.
16 lines
239 B
PL/PgSQL
16 lines
239 B
PL/PgSQL
begin;
|
|
|
|
drop table target cascade;
|
|
drop table target_host_set cascade;
|
|
drop table target_tcp;
|
|
drop view target_all_subtypes;
|
|
drop view target_host_set_catalog;
|
|
|
|
|
|
delete
|
|
from oplog_ticket
|
|
where name in (
|
|
'target_tcp'
|
|
);
|
|
|
|
commit; |