diff options
author | Cheng-Han, Wu | 2016-05-15 11:02:15 +0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-05-15 11:02:15 +0800 |
commit | 8a01b7242c24f1bdfbf6361a5c6b63e8123f904a (patch) | |
tree | f359a76b86dbeef0ca39577e18d75806c2d05316 /lib/models | |
parent | 22f7c4bdcb97ab9ce41fea61975783a3cf0fdb97 (diff) | |
parent | 930afdc33738a487bd9e596c5d35bc9f686eaaa1 (diff) |
Merge branch 'gitlab_snippets' of https://github.com/jccrofty30/hackmd into jccrofty30-gitlab_snippets
# Conflicts:
# lib/response.js
Diffstat (limited to '')
-rw-r--r-- | lib/models/user.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/models/user.js b/lib/models/user.js index b7ef1295..2323dc92 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: { @@ -75,6 +78,6 @@ module.exports = function (sequelize, DataTypes) { } } }); - + return User; };
\ No newline at end of file |