feat(server): add database seed script

Seeds: studio config, 5 card types (trial, 10x, 20x, monthly, quarterly),
admin user, weekday+Saturday time slot templates
This commit is contained in:
richarjiang
2026-04-02 12:34:53 +08:00
parent 994d1f75d5
commit b9d55c9e9f
2 changed files with 157 additions and 0 deletions

View File

@@ -60,5 +60,8 @@
"moduleNameMapper": {
"^@mp-pilates/shared(.*)$": "<rootDir>/../../shared/src$1"
}
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
}
}