Im trying to roll back my migrations.
My migrations file uses foreign keys like so
$table->foreign(\'user_one\')->references(\'id\')->on(\'u
You can do that thing very easily if you added cascade
on the foeign key
when creating the table. If you did it, then you can remove the table very easily without something like this for PostgreSQL.
DB::statement("drop table if exists tableName cascade");
All you have to do is to put the statement for SQL table in the raw format.