Skip to content

Commit

Permalink
feature#16:edit user model
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev-SeungcheolLee committed Nov 16, 2020
1 parent 16fdeda commit 7433b07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 7433b07

Please sign in to comment.