Skip to content

Firefly III: a personal finances manager

Append default data to current currency table (assuming default entries).

James Cole80f5e61b6b32
diff --git a/app/database/migrations/2014_12_13_190730_changes_for_v321.php b/app/database/migrations/2014_12_13_190730_changes_for_v321.php
index b675ed0e8a..7185cde1b8 100644
--- a/app/database/migrations/2014_12_13_190730_changes_for_v321.php
+++ b/app/database/migrations/2014_12_13_190730_changes_for_v321.php
@@ -496,9 +496,10 @@ class ChangesForV321 extends Migration
Schema::table(
'transaction_currencies', function (Blueprint $table) {
$table->string('name', 48)->nullable();
- $table->string('symbol', 4)->nullable();
+ $table->string('symbol', 8)->nullable();
}
);
+ \DB::update('UPDATE `transaction_currencies` SET `symbol` = "€", `name` = "Euro" WHERE `code` = "EUR";');
}
//