brauchen vielleicht doch eine uuid für user
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
This commit is contained in:
parent
75b96f4f27
commit
c22b000f46
@ -3,6 +3,7 @@
|
|||||||
class User extends Model {
|
class User extends Model {
|
||||||
protected $dbTable = "users";
|
protected $dbTable = "users";
|
||||||
protected $dbFields = Array (
|
protected $dbFields = Array (
|
||||||
|
'uuid' => ['type'=>'text','required','unique','autoValMethod'=>'gen_ulid'],
|
||||||
'password' => ['type'=>'text'],
|
'password' => ['type'=>'text'],
|
||||||
'registered' => ['type'=>'datetime','required','unique','autoValMethod'=>'getDateTime'],
|
'registered' => ['type'=>'datetime','required','unique','autoValMethod'=>'getDateTime'],
|
||||||
'email' => ['type'=>'email','unique'],
|
'email' => ['type'=>'email','unique'],
|
||||||
|
Reference in New Issue
Block a user