covid-vaccine-spotter
covid-vaccine-spotter copied to clipboard
Fix invalid db migration
country_grid_25km appears to be a typo: it was never created prior to the migration in 20210408224048_convert_materialized_views.js and appears not to be currently used.
This change prevents the bootstrap_db from failing with
migration failed with error: CREATE TABLE country_grid_25km_real (LIKE country_grid_25km INCLUDING ALL) - relation "country_grid_25km" does not exist
For convenience, the db/structure.sql is also updated.
The migrations seem to assume the structure is already created, but the bootstrap doesn't initialize the structure. I fixed it here as well
https://github.com/GUI/covid-vaccine-spotter/pull/137