rework components
This commit is contained in:
@@ -12,6 +12,12 @@ class User extends Authenticatable
|
||||
{
|
||||
use HasApiTokens, HasFactory, Notifiable;
|
||||
|
||||
/**
|
||||
* The table associated with the model.
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'users';
|
||||
|
||||
/**
|
||||
* The primary key associated with the users table.
|
||||
* @var string
|
||||
@@ -31,6 +37,8 @@ class User extends Authenticatable
|
||||
'hashed_password'
|
||||
];
|
||||
|
||||
//ID is not auto-incrementing.
|
||||
public $incrementing = false;
|
||||
//Timestamps are disabled.
|
||||
public $timestamps = false;
|
||||
|
||||
|
Reference in New Issue
Block a user