Currency code expansion.

This commit is contained in:
James Cole
2021-05-13 05:52:06 +02:00
parent 53dffc961f
commit 3f1bd6b3f1
9 changed files with 139 additions and 107 deletions

View File

@@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
/**
* Class ExtendCurrencyInfo
*/
class ExtendCurrencyInfo extends Migration
{
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table(
'transaction_currencies', function (Blueprint $table) {
$table->string('code', 51)->change();
$table->string('symbol', 51)->change();
}
);
}
}