Skip to content

Commit 58caef7

Browse files
feat: add mapaction priority countries to database
1 parent 6cca2d5 commit 58caef7

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111

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

1516
[#274]: https://github.com/GIScience/ohsome-quality-analyst/pull/274
1617
[#403]: https://github.com/GIScience/ohsome-quality-analyst/pull/403
1718
[#416]: https://github.com/GIScience/ohsome-quality-analyst/pull/416
19+
[#427]: https://github.com/GIScience/ohsome-quality-analyst/pull/427
1820

1921

2022
## 0.11.0

database/init_db.development/schema.test.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 10.19 (Ubuntu 10.19-0ubuntu0.18.04.1)
6-
-- Dumped by pg_dump version 13.4
5+
-- Dumped from database version 10.22 (Ubuntu 10.22-0ubuntu0.18.04.1)
6+
-- Dumped by pg_dump version 14.3
77

88
SET statement_timeout = 0;
99
SET lock_timeout = 0;

database/scripts/development-database/create_dev_schema.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ CREATE TABLE development.admin_world_water (
2727
LIKE public.admin_world_water INCLUDING INDEXES
2828
);
2929

30+
CREATE TABLE development.mapaction_cesdrr_countries (
31+
LIKE public.mapaction_cesdrr_countries INCLUDING INDEXES
32+
);
33+
3034
INSERT INTO development.regions
3135
SELECT
3236
*
@@ -55,6 +59,12 @@ SELECT
5559
FROM
5660
public.admin_world_water;
5761

62+
INSERT INTO development.mapaction_cesdrr_countries
63+
SELECT
64+
*
65+
FROM
66+
public.mapaction_cesdrr_countries;
67+
5868

5969
/* Testing */
6070
/* Currently two regions are used for testing: */

database/scripts/development-database/remove_dev_schema.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ 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;
26+
2327
DROP SCHEMA IF EXISTS development;
2428

2529
DROP SCHEMA IF EXISTS test;

0 commit comments

Comments
 (0)