diff options
author | Cheng-Han, Wu | 2016-05-15 11:15:02 +0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-05-15 11:15:02 +0800 |
commit | b956ada24bca26bc39769e20f45f4ecdebf42398 (patch) | |
tree | f359a76b86dbeef0ca39577e18d75806c2d05316 /lib/models | |
parent | 22f7c4bdcb97ab9ce41fea61975783a3cf0fdb97 (diff) | |
parent | 8a01b7242c24f1bdfbf6361a5c6b63e8123f904a (diff) |
Merge branch 'jccrofty30-gitlab_snippets'
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 |