add indices

This commit is contained in:
AJ ONeal 2016-07-12 11:37:08 -04:00
parent edb2588095
commit e893a3c32a
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ function wrap(db, dir, dbsMap) {
var idnameCased = (camelCase(dir.idname || 'id'));
dir.indices.forEach(normalizeColumn);
DB._indices = dir.indices;
db = PromiseA.promisifyAll(db);