mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-08-17 16:35:20 -05:00
36 lines
636 B
PHP
36 lines
636 B
PHP
<?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) {
|
||
|
|
$table->smallInteger('identifier', false, false)->default(0);
|
||
|
|
}
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|