alter column role to nullable
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user