Commit 77df6879 authored by Nicolas Widart's avatar Nicolas Widart

Set a default value of false

parent 47210196
......@@ -16,7 +16,7 @@ class CreateMenusTable extends Migration
Schema::create('menus', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->boolean('primary');
$table->tinyInteger('primary')->default(0);
$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