Skip to content

Commit

Permalink
fix(db): import of mapaction priority countries
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasschaub authored Sep 13, 2022
1 parent 278bd5a commit c12edc3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@

- Improve Currentness indicator ([#274])
- Add new report `MultilevelCurrentness` ([#403])
- Add MapAction priority countries to database ([#427])
- Add MapAction priority countries to database ([#427] [#428])

[#274]: https://github.com/GIScience/ohsome-quality-analyst/pull/274
[#403]: https://github.com/GIScience/ohsome-quality-analyst/pull/403
[#416]: https://github.com/GIScience/ohsome-quality-analyst/pull/416
[#426]: https://github.com/GIScience/ohsome-quality-analyst/pull/426
[#427]: https://github.com/GIScience/ohsome-quality-analyst/pull/427
[#428]: https://github.com/GIScience/ohsome-quality-analyst/pull/428


## 0.11.0
Expand Down
3 changes: 3 additions & 0 deletions database/init_db.development/post-init-db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ BEGIN
ALTER TABLE development.shdi SET SCHEMA public;
ALTER TABLE development.hexcells SET SCHEMA public;
ALTER TABLE development.admin_world_water SET SCHEMA public;
ALTER TABLE development.mapaction_cesdrr_countries SET SCHEMA public;
ELSE
ALTER TABLE test.regions SET SCHEMA public;
ALTER TABLE test.shdi SET SCHEMA public;
Expand All @@ -33,6 +34,8 @@ DROP TABLE IF EXISTS development.hexcells;

DROP TABLE IF EXISTS development.admin_world_water;

DROP TABLE IF EXISTS development.mapaction_cesdrr_countries;

DROP TABLE IF EXISTS test.regions;

DROP TABLE IF EXISTS test.shdi;
Expand Down
4 changes: 1 addition & 3 deletions database/scripts/development-database/remove_dev_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ DROP TABLE IF EXISTS test.hexcells;

DROP TABLE IF EXISTS development.admin_world_water;

DROP TABLE IF EXISTS development.mapaction_cesdrr_countires;

DROP TABLE IF EXISTS test.mapaction_cesdrr_countires;
DROP TABLE IF EXISTS development.mapaction_cesdrr_countries;

DROP SCHEMA IF EXISTS development;

Expand Down

0 comments on commit c12edc3

Please sign in to comment.