mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Update to budget limits.
This commit is contained in:
@@ -32,10 +32,19 @@ 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);
|
||||
}
|
||||
);
|
||||
|
||||
// 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');
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user