Closed rudokemper closed 3 years ago
Can I help with adding validations, indexes and tests for Story model? I could do that in a new PR.
Some work has started here, but can be picked up by whoever is available! https://github.com/Terrastories/terrastories/pull/274
Currently when the
Stories
andPlaces
CSV file are imported, if it's run again it will add duplicate records.Let's add validations to the
Stories
andPlaces
models to ensure that duplicates cannot be created, and that the CSV importer can do idempotent imports.Validations are already in place for the
Speakers
importer, the logic for which can be used to update thePlaces
andStories
importers as well.