f0b570284e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
388 B
TypeScript
13 lines
388 B
TypeScript
import { ProductModel } from "@/models/product";
|
||
import { StoreModel } from "@/models/store";
|
||
import type { Migration } from "./types";
|
||
|
||
export const migration: Migration = {
|
||
name: "013-stores-products",
|
||
description: "mağaza ve ürün (marka/paket) koleksiyonlarının index'leri",
|
||
async up() {
|
||
await StoreModel.createIndexes();
|
||
await ProductModel.createIndexes();
|
||
},
|
||
};
|