Browse Source

Use dropIfExists instead of drop

Diogo Azevedo 8 years ago
parent
commit
3ecc0e39ed

+ 1 - 1
database/migrations/2014_10_12_000000_create_users_table.php

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

+ 1 - 1
database/migrations/2014_10_12_100000_create_password_resets_table.php

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