Skip to content

Commit be26776

Browse files
committed
Update 2015_10_10_000000_create_menus_table
added nullable() to position column because it can cause error thrown during install when Menu::create() is called from QuickAdminInstall
1 parent be1da6e commit be26776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Migrations/2015_10_10_000000_create_menus_table

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CreateMenusTable extends Migration
1414
{
1515
Schema::create('menus', function (Blueprint $table) {
1616
$table->increments('id');
17-
$table->integer('position');
17+
$table->integer('position')->nullable();
1818
$table->integer('menu_type')->default(1);
1919
$table->string('icon')->nullable();
2020
$table->string('name')->unique();

0 commit comments

Comments
 (0)