Drop DB

Is there any way to drop the entire db? im using seed data and want to reset the db before seeding.
1 Reply
shaundiggity
shaundiggity6mo ago
I haven't tried it but I'm guessing you could just use the sql function: await db.execute(sqldrop database db_name_here;); You might also considering running a truncate on all your tables instead of a drop/create database, that way you don't have to run the migration again.
Want results from more Discord servers?
Add your server