feat(seed): varsayılan kategoriler, örnek hesaplar ve 002 migration

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 02:57:58 +03:00
parent d2aa9d8ae2
commit 0558d92203
6 changed files with 202 additions and 10 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
import { getDb } from "@/lib/db/mongo";
import { connectMongoose } from "@/lib/db/mongoose";
import { migration as m001 } from "./001-initial-indexes";
import { migration as m002 } from "./002-accounts-categories";
import type { Migration } from "./types";
/** Sıralı migration listesi. Yeni migration: dosyayı ekle ve buraya sırayla ekle. */
export const MIGRATIONS: Migration[] = [m001];
export const MIGRATIONS: Migration[] = [m001, m002];
const COLLECTION = "migrations";