aboutsummaryrefslogtreecommitdiffstats
path: root/db/models
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-01-13 15:46:53 -0800
committerAdam Soltys <[email protected]>2021-01-13 16:11:11 -0800
commit5cd96cc027be811116b147e0614aca39ce164c6b (patch)
treea9d7d9096bc4ea5bb7049500571e9641b50177d7 /db/models
parenteb860d78b836d810f7c29d5587e17321adf20bef (diff)
downloadcoinos-server-5cd96cc027be811116b147e0614aca39ce164c6b.tar.gz
coinos-server-5cd96cc027be811116b147e0614aca39ce164c6b.zip
account locking mechanism
Diffstat (limited to 'db/models')
-rw-r--r--db/models/users.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/users.js b/db/models/users.js
index 48384767..2a83eca8 100644
--- a/db/models/users.js
+++ b/db/models/users.js
@@ -10,6 +10,15 @@ const attributes = {
comment: null,
field: "id"
},
+ locked: {
+ type: DataTypes.BOOLEAN,
+ allowNull: true,
+ defaultValue: false,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "locked"
+ },
verified: {
type: DataTypes.STRING,
allowNull: true,