fix: rename DistribusiUmur.kelompok to rentangUmur to match UI/API

- Update Prisma schema: kelompok -> rentangUmur
- Update seed data JSON: kelompok -> rentangUmur
- Update seeder file: use rentangUmur field
- This fixes the empty data issue in distribusi-umur admin page

Note: Run 'bunx prisma db push' to apply schema migration

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
2026-04-10 12:03:25 +08:00
parent 8b14c6ce44
commit d84edc44f5
3 changed files with 16 additions and 16 deletions

View File

@@ -1,31 +1,31 @@
[
{
"id": "cmk-umur-001",
"kelompok": "0-14",
"rentangUmur": "0-14",
"jumlah": 820,
"tahun": 2026
},
{
"id": "cmk-umur-002",
"kelompok": "15-24",
"rentangUmur": "15-24",
"jumlah": 650,
"tahun": 2026
},
{
"id": "cmk-umur-003",
"kelompok": "25-54",
"rentangUmur": "25-54",
"jumlah": 1680,
"tahun": 2026
},
{
"id": "cmk-umur-004",
"kelompok": "55-64",
"rentangUmur": "55-64",
"jumlah": 520,
"tahun": 2026
},
{
"id": "cmk-umur-005",
"kelompok": "65+",
"rentangUmur": "65+",
"jumlah": 545,
"tahun": 2026
}