firefly-iii/database/migrations/2016_10_09_150037_expand_transactions_table.php

34 lines
631 B
PHP
Raw Normal View History

2016-10-09 10:06:52 -05:00
<?php
2017-08-18 14:08:51 -05:00
declare(strict_types=1);
2016-10-09 10:06:52 -05:00
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
/**
* Class ExpandTransactionsTable
*/
class ExpandTransactionsTable extends Migration
{
/**
* Reverse the migrations.
*/
public function down()
{
}
/**
* Run the migrations.
*
* @SuppressWarnings(PHPMD.ShortMethodName)
2016-10-09 10:06:52 -05:00
*/
public function up()
{
Schema::table(
2017-11-15 03:53:17 -06:00
'transactions',
function (Blueprint $table) {
$table->smallInteger('identifier', false, true)->default(0);
}
2016-10-09 10:06:52 -05:00
);
}
}