diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-02-28 22:39:02 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-02-28 22:39:02 +0200 |
commit | 4b3795814018ceb16f6df4c5e6df146c89e2111a (patch) | |
tree | d197f95cfa14decaf1833fa76000de69d593f319 /models/integrations.js | |
parent | 49229e1723de14cdc66dc6480624bba426d35e36 (diff) | |
parent | 3edff32bde9eda3c0ea8bf3960aa8eef1a3c5524 (diff) | |
download | wekan-4b3795814018ceb16f6df4c5e6df146c89e2111a.tar.gz wekan-4b3795814018ceb16f6df4c5e6df146c89e2111a.tar.bz2 wekan-4b3795814018ceb16f6df4c5e6df146c89e2111a.zip |
Merge branch 'devel' into edge
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 |