testing
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user