This commit is contained in:
James Brooks 2016-03-16 19:38:58 +00:00
parent 93dcf5b68a
commit 045667dce8

View File

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