Default to 2

This commit is contained in:
James Brooks
2016-03-13 11:39:15 +00:00
parent cdfaadf986
commit 97ec85ba2a

View File

@@ -23,7 +23,7 @@ class AlterTableComponentGroupsMakeColumnInteger extends Migration
public function up() public function up()
{ {
Schema::table('component_groups', function (Blueprint $table) { Schema::table('component_groups', function (Blueprint $table) {
$table->integer('collapsed')->unsigned()->change(); $table->integer('collapsed')->unsigned()->default(2)->change();
}); });
} }