refactor (db): Remove the internal/db test tables from the migrations (#1675)
This commit is contained in:
6 files changed
+296
-1
No files matched your search
@@ -0,0 +1,23 @@
|
||||
begin;
|
||||
|
||||
-- remove the internal/db test tables from the migrations.
|
||||
|
||||
drop table if exists db_test_user cascade;
|
||||
drop table if exists db_test_car cascade;
|
||||
drop table if exists db_test_rental cascade;
|
||||
drop table if exists db_test_scooter cascade;
|
||||
drop table if exists db_test_accessory cascade;
|
||||
drop table if exists db_test_scooter_accessory cascade;
|
||||
|
||||
|
||||
delete from oplog_ticket where name in
|
||||
(
|
||||
'db_test_user',
|
||||
'db_test_car',
|
||||
'db_test_rental',
|
||||
'db_test_scooter',
|
||||
'db_test_accessory',
|
||||
'db_test_scooter_accessory'
|
||||
);
|
||||
|
||||
commit;
|
||||
Reference in new issue
Block a user