|
@@ -18,7 +18,6 @@ schema.index({ id: 1 });
|
|
schema.index({ parent_id: 1 });
|
|
schema.index({ parent_id: 1 });
|
|
schema.index({ name: 1 });
|
|
schema.index({ name: 1 });
|
|
schema.index({ inventor: 1 });
|
|
schema.index({ inventor: 1 });
|
|
-schema.index({ to_id: 1 });
|
|
|
|
schema.index({ 'meta.createdAt': 1 });
|
|
schema.index({ 'meta.createdAt': 1 });
|
|
schema.plugin(metaPlugin);
|
|
schema.plugin(metaPlugin);
|
|
module.exports = app => {
|
|
module.exports = app => {
|