Skip to content

Commit c12edc3

Browse files
fix(db): import of mapaction priority countries
1 parent 278bd5a commit c12edc3

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@
1111

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

1616
[#274]: https://github.com/GIScience/ohsome-quality-analyst/pull/274
1717
[#403]: https://github.com/GIScience/ohsome-quality-analyst/pull/403
1818
[#416]: https://github.com/GIScience/ohsome-quality-analyst/pull/416
1919
[#426]: https://github.com/GIScience/ohsome-quality-analyst/pull/426
2020
[#427]: https://github.com/GIScience/ohsome-quality-analyst/pull/427
21+
[#428]: https://github.com/GIScience/ohsome-quality-analyst/pull/428
2122

2223

2324
## 0.11.0

database/init_db.development/post-init-db.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ BEGIN
1616
ALTER TABLE development.shdi SET SCHEMA public;
1717
ALTER TABLE development.hexcells SET SCHEMA public;
1818
ALTER TABLE development.admin_world_water SET SCHEMA public;
19+
ALTER TABLE development.mapaction_cesdrr_countries SET SCHEMA public;
1920
ELSE
2021
ALTER TABLE test.regions SET SCHEMA public;
2122
ALTER TABLE test.shdi SET SCHEMA public;
@@ -33,6 +34,8 @@ DROP TABLE IF EXISTS development.hexcells;
3334

3435
DROP TABLE IF EXISTS development.admin_world_water;
3536

37+
DROP TABLE IF EXISTS development.mapaction_cesdrr_countries;
38+
3639
DROP TABLE IF EXISTS test.regions;
3740

3841
DROP TABLE IF EXISTS test.shdi;

database/scripts/development-database/remove_dev_schema.sql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ DROP TABLE IF EXISTS test.hexcells;
2020

2121
DROP TABLE IF EXISTS development.admin_world_water;
2222

23-
DROP TABLE IF EXISTS development.mapaction_cesdrr_countires;
24-
25-
DROP TABLE IF EXISTS test.mapaction_cesdrr_countires;
23+
DROP TABLE IF EXISTS development.mapaction_cesdrr_countries;
2624

2725
DROP SCHEMA IF EXISTS development;
2826

0 commit comments

Comments
 (0)