Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(db): import of mapaction priority countries #428

Merged
merged 2 commits into from
Sep 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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