Set default for read_only to false

This commit is contained in:
Nabeel Shahzad 2019-06-20 23:24:08 -04:00
parent b169337fb6
commit 54347c6706

View File

@ -14,7 +14,7 @@ class AddReadonlyToRoles extends Migration
public function up(): void
{
Schema::table('roles', static function (Blueprint $table) {
$table->boolean('read_only');
$table->boolean('read_only')->default(false);
});
// Set the two main roles as read-only