Skip to content

Firefly III: a personal finances manager

Update to budget limits.

James Coledbe9628cc5e2
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 a36e0d1003..407e82c844 100644
--- a/database/migrations/2016_12_28_203205_changes_for_v431.php
+++ b/database/migrations/2016_12_28_203205_changes_for_v431.php
@@ -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');
}
);
}