mirror of
https://github.com/Dkunk7/crafters-coven.git
synced 2025-12-10 00:10:58 -06:00
added prop to User
This commit is contained in:
parent
1789c54a39
commit
e0badb96d6
@ -38,6 +38,11 @@ User.init(
|
|||||||
validate: {
|
validate: {
|
||||||
len: [6]
|
len: [6]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
is_admin: {
|
||||||
|
tpye: DataTypes.BOOLEAN,
|
||||||
|
allowNull: false,
|
||||||
|
defaultValue: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user