aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/user.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/user.ts')
-rw-r--r--server/models/user.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/user.ts b/server/models/user.ts
index cd383a16a..1a56a6dc3 100644
--- a/server/models/user.ts
+++ b/server/models/user.ts
@@ -32,8 +32,8 @@ let loadById: UserMethods.LoadById
32let loadByUsername: UserMethods.LoadByUsername 32let loadByUsername: UserMethods.LoadByUsername
33let loadByUsernameOrEmail: UserMethods.LoadByUsernameOrEmail 33let loadByUsernameOrEmail: UserMethods.LoadByUsernameOrEmail
34 34
35export default function (sequelize, DataTypes) { 35export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) {
36 User = sequelize.define('User', 36 User = sequelize.define<UserInstance, UserAttributes>('User',
37 { 37 {
38 password: { 38 password: {
39 type: DataTypes.STRING, 39 type: DataTypes.STRING,