From 39767fe6dec58cda795d51ac62615189b752692c Mon Sep 17 00:00:00 2001 From: Ran Guin Date: Thu, 13 May 2021 23:31:06 -0700 Subject: add access to users --- db/normalized/users.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'db/normalized') diff --git a/db/normalized/users.js b/db/normalized/users.js index fb30a550..86dd1334 100644 --- a/db/normalized/users.js +++ b/db/normalized/users.js @@ -40,6 +40,11 @@ const attributes = { type: DataTypes.BOOLEAN, allowNull: false, defaultValue: false, + }, + access: { + type: DataTypes.ENUM, + values: ['Public', 'Member', 'Admin'], + defaultValue: 'member' } } -- cgit v1.2.3