Skip to content

Commit

Permalink
Merge pull request #25 from twoSeats/twoSeats-patch-1
Browse files Browse the repository at this point in the history
fix possible broken install due to 'not null' constraint error
  • Loading branch information
LaravelDaily committed Mar 1, 2016
2 parents 376e654 + be26776 commit cf8a6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Migrations/2015_10_10_000000_create_menus_table
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CreateMenusTable extends Migration
{
Schema::create('menus', function (Blueprint $table) {
$table->increments('id');
$table->integer('position');
$table->integer('position')->nullable();
$table->integer('menu_type')->default(1);
$table->string('icon')->nullable();
$table->string('name')->unique();
Expand Down

0 comments on commit cf8a6aa

Please sign in to comment.