feat(wilayah): add wilayahseeder 5 hamlets - #73
Merged
Conversation
hanchan-dev
approved these changes
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Menyelesaikan EV5-7-S0: redesain
WilayahSeederdari 1 "dusun teknis" jadi 5 dusun sesuai TDD (Patrol, Sinargalih, Cibenda, Budiasih, Sucen), dengan struktur 2 RW/dusun + 2 RT/RW (total 10 RW, 20 RT) — sesuai temuan audit kode diSID_Backlog_Update_v5_1_Bulan.md§EV5-7-S0 dan divalidasi silang kedocs/audit/AUDIT_PROGRESS_SID_CIBENDA.md. Sekalian PR ini membawa fix bug blocking: 21 file di seluruh backend pakaiuse app\...(huruf kecil) alih-alihuse App\..., yang bikinmigrate:fresh --seedgagal total dengan errorClass "app\Models\LetterType" not found— baru ketahuan pas nyoba jalanin seeder baru ini.Jira Ticket
Ticket: EV5-7-S0
Type of Change
Changes Made
Wilayah (EV5-7-S0):
WilayahSeeder.php: 1 dusun palsu → 5 dusun sesuai TDD, masing-masing 2 RW, masing-masing RW 2 RTFix bug namespace (blocking, ditemukan saat testing di atas):
app/Services/*,app/Http/Controllers/*,app/Repositories/*,database/seeders/*,database/factories/*,config/auth.php,routes/api.php) dariuse app\...jadiuse App\...— typo yang selama ini "diam-diam jalan" karena PHP resolve nama class case-insensitive begitu class-nya sudah pernah di-load duluan di request yang sama, sampaiLetterTypeSeeder(seeder pertama yang benar-benar butuh loadLetterTypedari nol) memicu error asliHow to Test
php artisan migrate:fresh --seed— harus selesai bersih tanpa error (sebelumnya gagal diClass "app\Models\LetterType" not found)Screenshots (if applicable)
Checklist
dev(bukan langsung kemain)