diff options
Diffstat (limited to 'server/models/pod.js')
-rw-r--r-- | server/models/pod.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/models/pod.js b/server/models/pod.js index 84f78f200..83ecd732e 100644 --- a/server/models/pod.js +++ b/server/models/pod.js | |||
@@ -35,6 +35,14 @@ module.exports = function (sequelize, DataTypes) { | |||
35 | } | 35 | } |
36 | }, | 36 | }, |
37 | { | 37 | { |
38 | indexes: [ | ||
39 | { | ||
40 | fields: [ 'host' ] | ||
41 | }, | ||
42 | { | ||
43 | fields: [ 'score' ] | ||
44 | } | ||
45 | ], | ||
38 | classMethods: { | 46 | classMethods: { |
39 | associate, | 47 | associate, |
40 | 48 | ||