testing
This commit is contained in:
@@ -20,7 +20,7 @@ class AvailableUserPermission extends Model
|
||||
/**
|
||||
* Timestamps enabled for the rows
|
||||
*/
|
||||
public $timestamps = false;
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable
|
||||
|
||||
@@ -13,7 +13,7 @@ class AvailableUserRole extends Model
|
||||
public $primaryKey = 'id';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = false;
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* The attribute that are mass assignable
|
||||
|
||||
@@ -14,6 +14,8 @@ class UserPermission extends Model
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable
|
||||
*
|
||||
|
||||
@@ -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