From 7433b0730b49d9d8e94f4f76f5f6fc3b8134be3f Mon Sep 17 00:00:00 2001 From: seungcheol Date: Mon, 16 Nov 2020 13:20:53 +0900 Subject: [PATCH] feature#16:edit user model --- models/user.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/models/user.js b/models/user.js index ceb4189..ee86060 100644 --- a/models/user.js +++ b/models/user.js @@ -18,7 +18,9 @@ module.exports = (sequelize, DataTypes) => { email: DataTypes.STRING, password: DataTypes.STRING, username: DataTypes.STRING, - phonenum: DataTypes.STRING + phonenum: DataTypes.STRING, + googleId: DataTypes.STRING, + token: DataTypes.STRING }, { hooks: { beforeCreate: data => {