diff options
| author | Adam Soltys <[email protected]> | 2021-01-13 15:46:53 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-01-13 16:11:11 -0800 |
| commit | 5cd96cc027be811116b147e0614aca39ce164c6b (patch) | |
| tree | a9d7d9096bc4ea5bb7049500571e9641b50177d7 /db | |
| parent | eb860d78b836d810f7c29d5587e17321adf20bef (diff) | |
| download | coinos-server-5cd96cc027be811116b147e0614aca39ce164c6b.tar.gz coinos-server-5cd96cc027be811116b147e0614aca39ce164c6b.zip | |
account locking mechanism
Diffstat (limited to 'db')
| -rw-r--r-- | db/models/users.js | 9 |
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, |
