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

40 lines
699 B
PHP

<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class FixNullables extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table(
'rule_groups', function (Blueprint $table)
{
$table->text('description')->nullable()->change();
}
);
Schema::table(
'rules', function (Blueprint $table)
{
$table->text('description')->nullable()->change();
}
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
}
}