mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
pg migration: cascade
This commit is contained in:
parent
617659c7fd
commit
8a23011392
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ If you don't want to wait, you can create a fresh database and then import your
|
||||||
clearTimeout(tid);
|
clearTimeout(tid);
|
||||||
if (iid) clearInterval(iid);
|
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_tags').execute();
|
||||||
await db.schema.dropTable('nostr_pgfts').execute();
|
await db.schema.dropTable('nostr_pgfts').execute();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue