Merge pull request #4004 from diogoazevedos/schema-drop
Use dropIfExists instead of drop
This commit is contained in:
commit
1905c965eb
@ -30,6 +30,6 @@ class CreateUsersTable extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::drop('users');
|
||||
Schema::dropIfExists('users');
|
||||
}
|
||||
}
|
||||
|
||||
@ -27,6 +27,6 @@ class CreatePasswordResetsTable extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::drop('password_resets');
|
||||
Schema::dropIfExists('password_resets');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user