added primary keys to all models
This commit is contained in:
@@ -11,6 +11,14 @@ class UserRole extends Model
|
||||
*/
|
||||
protected $table = 'user_roles';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
/**
|
||||
* Attributes which are mass assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'character_id',
|
||||
'role',
|
||||
|
||||
Reference in New Issue
Block a user