diff options
author | Justin Reynolds <justinr1234@gmail.com> | 2019-02-28 11:44:29 -0600 |
---|---|---|
committer | Justin Reynolds <justinr1234@gmail.com> | 2019-02-28 11:44:29 -0600 |
commit | 3c49e2d0edec19eff4f87b0fcc127f924af193fc (patch) | |
tree | 99074349d9befecceaa02b4b8776718591712801 /models/integrations.js | |
parent | 904b5bf0f5f6e36131bf2d081a5d08fef408ac81 (diff) | |
download | wekan-3c49e2d0edec19eff4f87b0fcc127f924af193fc.tar.gz wekan-3c49e2d0edec19eff4f87b0fcc127f924af193fc.tar.bz2 wekan-3c49e2d0edec19eff4f87b0fcc127f924af193fc.zip |
Performance Enhancements
Diffstat (limited to 'models/integrations.js')
-rw-r--r-- | models/integrations.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/models/integrations.js b/models/integrations.js index 1c473b57..65a7af63 100644 --- a/models/integrations.js +++ b/models/integrations.js @@ -88,6 +88,10 @@ Integrations.allow({ //INTEGRATIONS REST API if (Meteor.isServer) { + Meteor.startup(() => { + Integrations._collection._ensureIndex({ boardId: 1 }); + }); + /** * @operation get_all_integrations * @summary Get all integrations in board |