some fix
This commit is contained in:
@ -3,7 +3,7 @@ namespace app\models;
|
||||
use \Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class User extends Model {
|
||||
protected $table = 'Users';
|
||||
protected $fillable = ['username', 'email', 'password'];
|
||||
protected $table = 'user';
|
||||
protected $fillable = ['username', 'email', 'role'];
|
||||
protected $dates = ['deleted at'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user