No changes to budget limit for now.

This commit is contained in:
James Cole 2016-12-29 18:10:14 +01:00
parent c756b80962
commit b14719464c

View File

@ -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');
}
);
}
}