aboutsummaryrefslogtreecommitdiffstats
path: root/db/normalized
diff options
context:
space:
mode:
authorRan Guin <[email protected]>2021-05-13 23:31:06 -0700
committerAdam Soltys <[email protected]>2021-06-09 16:05:30 -0700
commit39767fe6dec58cda795d51ac62615189b752692c (patch)
tree70634ea63867a24b16f5d2a984ccdc015617c3c0 /db/normalized
parent691bcf0b5a92afb808790974523a3ff098305782 (diff)
downloadcoinos-server-39767fe6dec58cda795d51ac62615189b752692c.tar.gz
coinos-server-39767fe6dec58cda795d51ac62615189b752692c.zip
add access to users
Diffstat (limited to 'db/normalized')
-rw-r--r--db/normalized/users.js5
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'
}
}