GSA / Challenge_gov

Other
29 stars 13 forks source link

Fix DB seeds #1324

Closed stepchud closed 3 months ago

stepchud commented 4 months ago

Description

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

Screenshots (if applicable)

[Include screenshots to visually demonstrate changes, if relevant.]

Checklist