aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 01de277..f783076 100644
--- a/src/index.js
+++ b/src/index.js
@@ -67,6 +67,10 @@ function setUpModels() {
type: Sequelize.STRING,
allowNull: false,
},
+ username: {
+ type: Sequelize.STRING,
+ allowNull: false,
+ },
}),
"users": database.define('user', {
username: {