Skip to content

Commit

Permalink
feat: réduction taille de l'index
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlr committed Jun 27, 2024
1 parent 618374a commit 1b58128
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions shared/models/deca.model/decaHistory.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ import { IModelDescriptor, zObjectId } from "../common";

const collectionName = "decaHistory" as const;

const indexes: IModelDescriptor["indexes"] = [
[{ key: 1, from: 1, to: 1, deca_id: 1 }, {}],
[{ deca_id: 1 }, {}],
[{ key: 1 }, {}],
];
const indexes: IModelDescriptor["indexes"] = [[{ key: 1, deca_id: 1 }, {}]];

export const ZDecaHistory = z
.object({
Expand Down

0 comments on commit 1b58128

Please sign in to comment.