testing
This commit is contained in:
@@ -12,7 +12,7 @@ return new class extends Migration
|
||||
public function up(): void
|
||||
{
|
||||
if(!Schema::hasTable('available_user_roles')) {
|
||||
Schema::createTable('available_user_roles', function (Blueprint $table) {
|
||||
Schema::create('available_user_roles', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('role');
|
||||
$table->string('description');
|
||||
@@ -21,7 +21,7 @@ return new class extends Migration
|
||||
}
|
||||
|
||||
if(!Schema::hasTable('user_roles')) {
|
||||
Schema::createTable('user_roles', function (Blueprint $table) {
|
||||
Schema::create('user_roles', function (Blueprint $table) {
|
||||
$table->unsignedBigInteger('character_id')->unique();
|
||||
$table->string('role')->default('Guest');
|
||||
$table->timestamps();
|
||||
@@ -34,7 +34,7 @@ return new class extends Migration
|
||||
}
|
||||
|
||||
if(!Schema::hasTable('user_permissions')) {
|
||||
Schema::createTable('user_permissions', function (Blueprint $table) {
|
||||
Schema::create('user_permissions', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->unsignedBigInteger('character_id');
|
||||
$table->string('permission');
|
||||
@@ -48,7 +48,7 @@ return new class extends Migration
|
||||
}
|
||||
|
||||
if(!Schema::hasTable('available_user_permissions')) {
|
||||
Schema::createTable('available_user_permissions', function (Blueprint $table) {
|
||||
Schema::create('available_user_permissions', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('permission');
|
||||
$table->text('description');
|
||||
|
||||
Reference in New Issue
Block a user