Fixes migrations to actually rollback all the way.

This commit is contained in:
Dane Everitt 2017-04-19 18:43:32 -04:00
parent 33262cf34c
commit d695532aa2
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
10 changed files with 20 additions and 34 deletions

View file

@ -34,7 +34,7 @@ class AddNewServiceOptionsColumns extends Migration
public function down()
{
Schema::table('service_options', function (Blueprint $table) {
$table->dropForeign('config_from');
$table->dropForeign(['config_from']);
$table->dropColumn('config_from');
$table->dropColumn('config_stop');