Updates the seeds loading script (priv/repo/seeds_updated.exs) to correctly load entries in the CSV data. Also removed the duplicate Agencies from agencies_updated.csv so that the CSV loads without duplicates, and the number of rows in the CSV matches the number of rows in the DB after seeding.
Related Issues
A previous PR, #1023 took a different approach to this same problem but it can be closed if this PR is approved/merged.
Changes Made
[List the specific changes made in bullet points.]
Screenshots (if applicable)
[Include screenshots to visually demonstrate changes, if relevant.]
Checklist
[ ] PR is assigned to a project: Challenge_gov Board
[ ] PR is assigned to a milestone: current sprint
[ ] PR is assigned a reviewer, and requires code review and approval by a teammate
[ ] New functionality is tested and all tests are green
[ ] I have added unit tests for new functionality or updated existing tests for changes.
[ ] I have updated the documentation/README accordingly, if necessary.
[ ] If you have DB migration, it is a "safe" migration and you've confirmed it can be rolled back.
[ ] If applicable, Controllers modified contain appropriate authorization plugs
[ ] This PR has been reviewed by at least one other team member.
Description
Updates the seeds loading script (
priv/repo/seeds_updated.exs
) to correctly load entries in the CSV data. Also removed the duplicate Agencies fromagencies_updated.csv
so that the CSV loads without duplicates, and the number of rows in the CSV matches the number of rows in the DB after seeding.Related Issues
A previous PR, #1023 took a different approach to this same problem but it can be closed if this PR is approved/merged.
Changes Made
Screenshots (if applicable)
[Include screenshots to visually demonstrate changes, if relevant.]
Checklist