migration up

This commit is contained in:
stasbilay02 committed 2024-07-10 14:39:37 +03:00
1 parent 70b2f7e5cc
commit 3df81597b6
14 files changed
+143 -24

No files matched your search

+2 -2
View File
@@ -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'];
}