2016-10-09 10:06:52 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class ExpandTransactionsTable
|
|
|
|
*/
|
|
|
|
class ExpandTransactionsTable extends Migration
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
|
|
|
Schema::table(
|
|
|
|
'transactions', function (Blueprint $table) {
|
2016-10-09 14:36:22 -05:00
|
|
|
$table->smallInteger('identifier', false, true)->default(0);
|
2016-10-09 10:06:52 -05:00
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|