mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-16 03:44:26 +01:00
pg migration: cascade
This commit is contained in:
@@ -129,7 +129,7 @@ If you don't want to wait, you can create a fresh database and then import your
|
||||
clearTimeout(tid);
|
||||
if (iid) clearInterval(iid);
|
||||
|
||||
await db.schema.dropTable('nostr_events').execute();
|
||||
await db.schema.dropTable('nostr_events').cascade().execute();
|
||||
await db.schema.dropTable('nostr_tags').execute();
|
||||
await db.schema.dropTable('nostr_pgfts').execute();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user