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

This commit is contained in:
James Cole 2014-12-24 05:51:18 +01:00
parent dbcae16b75
commit 80f5e61b6b

View File

@ -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";');
}
//