code4romania / code4romania/monitorizare-vot-votanti-api
Seed Incidents
- Dominant language
- PHP
- Stars
- 8
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
The seeder `IncidentsTableSeeder` is commented out in `DatabaseSeeder` and this is affecting my local testing.
The `IncidentTypesTableSeeder` excludes IDs 6 and 10. I'm guessing this broke the seed at some point and this was just left as is.
My proposed fix is to update IncidentsTableSeeder to exclude those IDs.
Contributor guide
Research direction
Start in DatabaseSeeder and inspect the commented IncidentsTableSeeder, then compare its assumptions with IncidentTypesTableSeeder, especially IDs 6 and 10. Re-enable the incident seeder with the stated exclusions and verify that local database seeding completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- database
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100