This commit is contained in:
2026-03-10 23:52:54 -05:00
parent 4a36839794
commit b44bfaa223
10 changed files with 139 additions and 6 deletions

View File

@@ -12,7 +12,9 @@ class UserRole extends Model
protected $table = 'user_roles';
//Primary Key
public $primaryKey = 'id';
public $primaryKey = 'character_id';
public $timestamps = true;
/**
* Attributes which are mass assignable
@@ -20,8 +22,8 @@ class UserRole extends Model
* @var array
*/
protected $fillable = [
'character_id',
'role',
'rank',
];
public function user() {