aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/user.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/user.js')
-rw-r--r--server/models/user.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/models/user.js b/server/models/user.js
index 944986a44..631cd96c9 100644
--- a/server/models/user.js
+++ b/server/models/user.js
@@ -38,6 +38,11 @@ module.exports = function (sequelize, DataTypes) {
38 } 38 }
39 }, 39 },
40 { 40 {
41 indexes: [
42 {
43 fields: [ 'username' ]
44 }
45 ],
41 classMethods: { 46 classMethods: {
42 associate, 47 associate,
43 48