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:
+4
-2
@@ -11,8 +11,10 @@ import { closeSeedConnections, runSeed } from "./seed/run";
|
||||
|
||||
async function main() {
|
||||
const summary = await runSeed({ reset: process.argv.includes("--reset") });
|
||||
const { users, households, memberships } = summary.created;
|
||||
console.log(`\nOluşturulan: ${users} kullanıcı, ${households} hane, ${memberships} üyelik.`);
|
||||
const { users, households, memberships, categories, accounts } = summary.created;
|
||||
console.log(
|
||||
`\nOluşturulan: ${users} kullanıcı, ${households} hane, ${memberships} üyelik, ${categories} kategori, ${accounts} hesap.`,
|
||||
);
|
||||
|
||||
// Hesap tablosu yalnızca geliştirme ortamında gösterilir.
|
||||
if (env().NODE_ENV !== "production" && summary.accounts.length) {
|
||||
|
||||
Reference in New Issue
Block a user