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.
|
|
|
|
*
|
2016-12-24 07:43:42 -06:00
|
|
|
* @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
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|