diff options
| author | Ran Guin <[email protected]> | 2021-05-13 23:31:06 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-06-09 16:05:30 -0700 |
| commit | 39767fe6dec58cda795d51ac62615189b752692c (patch) | |
| tree | 70634ea63867a24b16f5d2a984ccdc015617c3c0 | |
| parent | 691bcf0b5a92afb808790974523a3ff098305782 (diff) | |
| download | coinos-server-39767fe6dec58cda795d51ac62615189b752692c.tar.gz coinos-server-39767fe6dec58cda795d51ac62615189b752692c.zip | |
add access to users
| -rw-r--r-- | db/normalized/users.js | 5 |
1 files changed, 5 insertions, 0 deletions
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' } } |
