firefly-iii/database/migrations/2016_09_12_121359_fix_nullables.php
2016-09-13 19:20:09 +02:00

42 lines
713 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
/**
* Class FixNullables
*/
class FixNullables extends Migration
{
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
}
/**
* 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();
}
);
}
}