Merge pull request #4004 from diogoazevedos/schema-drop

Use dropIfExists instead of drop
This commit is contained in:
Taylor Otwell
2016-10-16 15:06:04 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -30,6 +30,6 @@ class CreateUsersTable extends Migration
*/
public function down()
{
Schema::drop('users');
Schema::dropIfExists('users');
}
}

View File

@@ -27,6 +27,6 @@ class CreatePasswordResetsTable extends Migration
*/
public function down()
{
Schema::drop('password_resets');
Schema::dropIfExists('password_resets');
}
}