mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 15:14:06 -06:00
Update to budget limits.
This commit is contained in:
parent
7a3b39886e
commit
dbe9628cc5
@ -32,9 +32,18 @@ class ChangesForV431 extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
// add decimal places to "transaction currencies".
|
||||
Schema::table(
|
||||
'transaction_currencies', function (Blueprint $table) {
|
||||
$table->smallInteger('decimal_places',false, true)->default(2);
|
||||
$table->smallInteger('decimal_places', false, true)->default(2);
|
||||
}
|
||||
);
|
||||
|
||||
// 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');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user