alter column role to nullable

This commit is contained in:
nurafrinaalimi16
2024-03-31 08:55:44 +08:00
parent 93195399af
commit 1bee7a629d
@@ -15,8 +15,10 @@ class AddRoleToUsersTable extends Migration
{ {
Schema::table('users', function (Blueprint $table) { Schema::table('users', function (Blueprint $table) {
// //
$table->string('role', 60); $table->string('role', 60)->nullable();
}); });
// DB::statement("ALTER TABLE nominee ADD photo MEDIUMBLOB");
} }
/** /**