@steedos/service-fields-indexs 2.5.12-beta.16 → 2.5.12-beta.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  * @Author: baozhoutao@hotoa.com
3
3
  * @Date: 2022-02-28 09:25:03
4
4
  * @LastEditors: 孙浩林 sunhaolin@steedos.com
5
- * @LastEditTime: 2023-08-19 13:06:07
5
+ * @LastEditTime: 2023-08-20 10:33:17
6
6
  * @Description:
7
7
  */
8
8
  if (Meteor.isServer) {
@@ -36,15 +36,7 @@ if (Meteor.isServer) {
36
36
  } catch (error) {
37
37
 
38
38
  }
39
- try {
40
- db.instances._ensureIndex({
41
- "inbox_users": 1
42
- }, {
43
- background: true
44
- });
45
- } catch (error) {
46
39
 
47
- }
48
40
  db.instances._ensureIndex({
49
41
  "space": 1,
50
42
  "is_deleted": 1
@@ -83,11 +75,6 @@ if (Meteor.isServer) {
83
75
  background: true
84
76
  });
85
77
 
86
- db.instances._ensureIndex({
87
- "cc_users": 1
88
- }, {
89
- background: true
90
- });
91
78
  db.instances._ensureIndex({
92
79
  "space": 1,
93
80
  "state": 1,
@@ -211,3 +198,29 @@ if (Meteor.isServer) {
211
198
 
212
199
  }
213
200
  }
201
+
202
+ // 推送
203
+ try {
204
+ db.instances._ensureIndex({
205
+ inbox_users: 1,
206
+ category: 1,
207
+ },
208
+ {
209
+ background: true, name: 'push_manager_inbox_users_category'
210
+ });
211
+ } catch (error) {
212
+
213
+ }
214
+
215
+ try {
216
+ db.instances._ensureIndex({
217
+ cc_users: 1,
218
+ category: 1,
219
+ },
220
+ {
221
+ background: true, name: 'push_manager_cc_users_category'
222
+ });
223
+ } catch (error) {
224
+
225
+ }
226
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-fields-indexs",
3
- "version": "2.5.12-beta.16",
3
+ "version": "2.5.12-beta.18",
4
4
  "main": "package.service.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -10,5 +10,5 @@
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
13
- "gitHead": "3b3503644fc4c9f559dd3fcb6d1da3d84469c1f8"
13
+ "gitHead": "53e3144a95adb2c52946260a633b84f4594e8c29"
14
14
  }