feat(shopping): mağazalar, zahmet skoru ve ürünler (marka/paket, dönüşüm, görseller)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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();
|
||||
},
|
||||
};
|
||||
@@ -12,6 +12,7 @@ import { migration as m009 } from "./009-assets";
|
||||
import { migration as m010 } from "./010-budgets";
|
||||
import { migration as m011 } from "./011-stock";
|
||||
import { migration as m012 } from "./012-stock-counts";
|
||||
import { migration as m013 } from "./013-stores-products";
|
||||
import type { Migration } from "./types";
|
||||
|
||||
/** Sıralı migration listesi. Yeni migration: dosyayı ekle ve buraya sırayla ekle. */
|
||||
@@ -28,6 +29,7 @@ export const MIGRATIONS: Migration[] = [
|
||||
m010,
|
||||
m011,
|
||||
m012,
|
||||
m013,
|
||||
];
|
||||
|
||||
const COLLECTION = "migrations";
|
||||
|
||||
Reference in New Issue
Block a user