Skip to content

Firefly III: a personal finances manager

Fix some migrations [skip ci]

James Cole221e4b7fc02c
diff --git a/database/migrations/2016_06_16_000002_create_main_tables.php b/database/migrations/2016_06_16_000002_create_main_tables.php
index 771954b63a..3d7297fbea 100644
--- a/database/migrations/2016_06_16_000002_create_main_tables.php
+++ b/database/migrations/2016_06_16_000002_create_main_tables.php
@@ -85,7 +85,7 @@ class CreateMainTables extends Migration
$table->integer('user_id', false, true);
$table->integer('account_type_id', false, true);
$table->string('name', 1024);
- $table->decimal('virtual_balance', 10, 4);
+ $table->decimal('virtual_balance', 10, 4)->nullable();
$table->string('iban', 255)->nullable();
$table->boolean('active')->default(1);