diff --git a/database/migrations/2016_12_28_203205_changes_for_v431.php b/database/migrations/2016_12_28_203205_changes_for_v431.php index 671104f8ed..2842b6b606 100644 --- a/database/migrations/2016_12_28_203205_changes_for_v431.php +++ b/database/migrations/2016_12_28_203205_changes_for_v431.php @@ -22,7 +22,11 @@ class ChangesForV431 extends Migration */ public function down() { - // + Schema::table( + 'budget_limits', function (Blueprint $table) { + $table->renameColumn('start_date', 'startdate'); + } + ); } /** @@ -39,14 +43,5 @@ class ChangesForV431 extends Migration } ); - // add end date to budget limits, forget budget limit repetitions: - Schema::table( - 'budget_limits', function (Blueprint $table) { - $table->renameColumn('startdate', 'start_date'); - $table->date('end_date'); - $table->dropColumn('repeat_freq'); - $table->dropColumn('repeats'); - } - ); } }