Default the component_groups.order value to 0
This commit is contained in:
@@ -25,7 +25,7 @@ class AlterTableComponentGroupsAddOrder extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('component_groups', function (Blueprint $table) {
|
||||
$table->integer('order')->after('name');
|
||||
$table->integer('order')->after('name')->default(0);
|
||||
$table->index('order');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user