From 80f5e61b6b329305ee84316ae100f44026e56e9e Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 24 Dec 2014 05:51:18 +0100 Subject: [PATCH] Append default data to current currency table (assuming default entries). --- app/database/migrations/2014_12_13_190730_changes_for_v321.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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";'); } //