mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-08-16 16:04:52 -05:00
37 lines
664 B
PHP
37 lines
664 B
PHP
<?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();
|
||
|
|
}
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|