testing
This commit is contained in:
@@ -12,8 +12,8 @@ class UserRole extends Model
|
||||
protected $table = 'user_roles';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'character_id';
|
||||
|
||||
protected $primaryKey = 'character_id';
|
||||
public $incrementing = false;
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
|
||||
@@ -37,7 +37,7 @@ return new class extends Migration
|
||||
if(!Schema::hasTable('user_permissions')) {
|
||||
Schema::create('user_permissions', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->unsignedBigInteger('character_id');
|
||||
$table->unsignedBigInteger('character_id')->default(0);
|
||||
$table->string('permission');
|
||||
$table->timestamps();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user