@@ 194-209 (lines=16) @@ | ||
191 | } |
|
192 | ||
193 | Schema::collection( |
|
194 | 'issue_' . $project->key, function ($col) { |
|
195 | $col->index('type'); |
|
196 | $col->index('state'); |
|
197 | $col->index('resolution'); |
|
198 | $col->index('priority'); |
|
199 | $col->index('created_at'); |
|
200 | $col->index('updated_at'); |
|
201 | $col->index('epic'); |
|
202 | $col->index('module'); |
|
203 | $col->index('resolve_version'); |
|
204 | $col->index('labels'); |
|
205 | $col->index('no'); |
|
206 | $col->index('parent_id'); |
|
207 | $col->index('assignee.id'); |
|
208 | $col->index('reporter.id'); |
|
209 | } |
|
210 | ); |
|
211 | Schema::collection( |
|
212 | 'activity_' . $project->key, function ($col) { |
|
@@ 260-274 (lines=15) @@ | ||
257 | } |
|
258 | ||
259 | Schema::collection( |
|
260 | 'issue_' . $project->key, function ($col) { |
|
261 | $col->index('type'); |
|
262 | $col->index('state'); |
|
263 | $col->index('resolution'); |
|
264 | $col->index('priority'); |
|
265 | $col->index('created_at'); |
|
266 | $col->index('updated_at'); |
|
267 | $col->index('module'); |
|
268 | $col->index('epic'); |
|
269 | $col->index('resolve_version'); |
|
270 | $col->index('labels'); |
|
271 | $col->index('no'); |
|
272 | $col->index('assignee.id'); |
|
273 | $col->index('reporter.id'); |
|
274 | } |
|
275 | ); |
|
276 | Schema::collection( |
|
277 | 'activity_' . $project->key, function ($col) { |