Commit 47210196 authored by Nicolas Widart's avatar Nicolas Widart

Add a primary column

parent 707af135
...@@ -16,6 +16,7 @@ class CreateMenusTable extends Migration ...@@ -16,6 +16,7 @@ class CreateMenusTable extends Migration
Schema::create('menus', function (Blueprint $table) { Schema::create('menus', function (Blueprint $table) {
$table->increments('id'); $table->increments('id');
$table->string('name'); $table->string('name');
$table->boolean('primary');
$table->timestamps(); $table->timestamps();
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment