mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Add database indexes for searchable fields
This commit is contained in:
parent
00a623e50e
commit
5e6237afba
|
|
@ -1,4 +1,6 @@
|
||||||
import { Calls } from '../../../imports/collections/calls';
|
import { Calls } from '../../../imports/collections/calls';
|
||||||
|
|
||||||
Calls.rawCollection().createIndex({ createdAt: 1 }, { name: '_createdAt_' });
|
Calls.rawCollection().createIndex({ createdAt: 1 }, { name: '_createdAt_' });
|
||||||
Calls.rawCollection().createIndex({ startTime: 1 }, { name: '_startTime_' });
|
Calls.rawCollection().createIndex({ startTime: 1 }, { name: '_startTimeAsc_' });
|
||||||
|
Calls.rawCollection().createIndex({ system: 1 }, { name: '_system_' });
|
||||||
|
Calls.rawCollection().createIndex({ talkgroup: 1 }, { name: '_talkgroup_' });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue