pg migration: cascade

This commit is contained in:
Alex Gleason
2024-08-12 15:17:42 -05:00
parent 617659c7fd
commit 8a23011392

View File

@@ -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();