docs
docs copied to clipboard
Drop all tables
Is there a command in pop to drop all tables ?
Is buffalo db drop
followed by buffalo db create
what you're looking for?
Result will be the same.
Hi, I used this command but it says it can not remove the database because other processes are using it, it is while i can remove the database from pg admin. Also i think this is not the right way for recreating tables.
Anyway i found this command buffalo db migrate reset
and it works but it says it is deprecated. I kept this issue open because i think it is better than removing the whole database and it does the job in one command.