code4romania / code4romania/monitorizare-vot-votanti-api

Seed Incidents

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.