From 5cd96cc027be811116b147e0614aca39ce164c6b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 13 Jan 2021 15:46:53 -0800 Subject: account locking mechanism --- db/models/users.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'db/models') 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, -- cgit v1.2.3