* 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.
21 lines
432 B
PL/PgSQL
21 lines
432 B
PL/PgSQL
begin;
|
|
|
|
drop table session_state;
|
|
drop table session_state_enm;
|
|
drop table session;
|
|
drop table session_termination_reason_enm;
|
|
drop function insert_session_state;
|
|
drop function insert_new_session_state;
|
|
drop function insert_session;
|
|
drop function update_session_state_on_termination_reason;
|
|
drop function insert_session_state;
|
|
|
|
|
|
delete
|
|
from oplog_ticket
|
|
where name in (
|
|
'session'
|
|
);
|
|
|
|
commit;
|