mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 04:46:05 +00:00
added index on media entity_id, report query with unindexed fields
This commit is contained in:
@@ -51,7 +51,7 @@ export class AppMedia extends Module<typeof mediaConfigSchema> {
|
||||
const media = this.getMediaEntity(true);
|
||||
this.ensureSchema(
|
||||
em({ [media.name as "media"]: media }, ({ index }, { media }) => {
|
||||
index(media).on(["path"], true).on(["reference"]);
|
||||
index(media).on(["path"], true).on(["reference"]).on(["entity_id"]);
|
||||
})
|
||||
);
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user