Im trying to roll back my migrations.
My migrations file uses foreign keys like so
$table->foreign(\'user_one\')->references(\'id\')->on(\'u
I think this is a better way to do it:
public function down() { DB::statement('SET FOREIGN_KEY_CHECKS = 0'); Schema::dropIfExists('tableName'); DB::statement('SET FOREIGN_KEY_CHECKS = 1'); }