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(); }, };