Add Indexes to Schema API (#4240)
* Add Indexes to Schema API * error handling * ci errors * postgres support * full text compound indexes * pg clean up * get indexes on startup * test compound index on startup * add default _id to index, full Text index on startup * lint * fix test
This commit is contained in:
committed by
Florent Vilmart
parent
6a1510729a
commit
4bccf96ae7
@@ -21,6 +21,9 @@ describe('MongoSchemaCollection', () => {
|
||||
"create":{"*":true},
|
||||
"delete":{"*":true},
|
||||
"addField":{"*":true},
|
||||
},
|
||||
"indexes": {
|
||||
"name1":{"deviceToken":1}
|
||||
}
|
||||
},
|
||||
"installationId":"string",
|
||||
@@ -66,7 +69,10 @@ describe('MongoSchemaCollection', () => {
|
||||
update: { '*': true },
|
||||
delete: { '*': true },
|
||||
addField: { '*': true },
|
||||
}
|
||||
},
|
||||
indexes: {
|
||||
name1: {deviceToken: 1}
|
||||
},
|
||||
});
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user