Over the years, different patterns have been employed for managing the loading of data that is needed to run the app. Specifically, the Management Area fixtures, and some map overlays as well.
We should consider moving these load operations out of migrations (where they currently reside) and into a new setup_hms command that could be run to complete a database initialization after the normal setup_db Arches command has been run.
This will make the migrations run much more quickly overall, allowing for a more streamline unit test pattern to be put in place.
Over the years, different patterns have been employed for managing the loading of data that is needed to run the app. Specifically, the Management Area fixtures, and some map overlays as well.
We should consider moving these load operations out of migrations (where they currently reside) and into a new
setup_hms
command that could be run to complete a database initialization after the normalsetup_db
Arches command has been run.This will make the migrations run much more quickly overall, allowing for a more streamline unit test pattern to be put in place.