mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
36 lines
635 B
PHP
36 lines
635 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, true)->default(0);
|
|
}
|
|
);
|
|
}
|
|
}
|