migration up
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
namespace app\models;
|
||||
use \Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class User extends Model {
|
||||
protected $table = 'user';
|
||||
protected $fillable = ['username', 'email', 'role'];
|
||||
protected $fillable = ['username', 'email', 'password_hash', 'role'];
|
||||
protected $dates = ['deleted at'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user