Set default for read_only to false
This commit is contained in:
parent
b169337fb6
commit
54347c6706
@ -14,7 +14,7 @@ class AddReadonlyToRoles extends Migration
|
|||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
Schema::table('roles', static function (Blueprint $table) {
|
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
|
// Set the two main roles as read-only
|
||||||
|
Loading…
Reference in New Issue
Block a user