summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason Croft2016-05-11 17:04:45 -0400
committerJason Croft2016-05-11 17:04:45 -0400
commita443490ee6257d2e2a5dfabcd9455101c1a5b4c0 (patch)
treea89ed97fc6500ee8ecf03a0605025c1c66522653 /lib
parent70f6e5bc2cbdb15ff48bdf49b09d7c4bb78ea4ba (diff)
Add accessToken column
Diffstat (limited to '')
-rw-r--r--lib/models/user.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/models/user.js b/lib/models/user.js
index e1a373d6..639fc226 100644
--- a/lib/models/user.js
+++ b/lib/models/user.js
@@ -23,6 +23,9 @@ module.exports = function (sequelize, DataTypes) {
},
history: {
type: DataTypes.TEXT
+ },
+ accessToken: {
+ type: DataTypes.STRING
}
}, {
classMethods: {
@@ -72,6 +75,6 @@ module.exports = function (sequelize, DataTypes) {
}
}
});
-
+
return User;
}; \ No newline at end of file