Commit d6d957e3 authored by Cecilia Nievas's avatar Cecilia Nievas
Browse files

Added SQL script to create aggregated_sources table

parent 728f2e93
Pipeline #29455 passed with stage
in 1 minute and 10 seconds
......@@ -12,6 +12,17 @@ The database is described through SQL files in the `migrations/` directory.
|--------------|--------------------|
| quadkey | text (primary key) |
#### `aggregated_sources` - Information about sources of aggregated exposure models
Aggregated exposure models are an input to the Global Dynamic Exposure (GDE) model. Details on
the sources can be found [here](https://git.gfz-potsdam.de/dynamicexposure/datasources).
| column name | data type | description |
|----------------------|-----------|-----------------------------|
| aggregated_source_id | smallint | Serial primary key. |
| name | varchar | Name of the source. |
| format | varchar | Format of the source files. |
#### `migrations` - Information about database migrations
Created and managed by [inyuu](https://git.gfz-potsdam.de/dynamicexposure/openbuildingmap/inyuu):
......
CREATE TABLE public.aggregated_sources
(
aggregated_source_id SERIAL PRIMARY KEY,
name VARCHAR,
format VARCHAR
);
ALTER TABLE public.aggregated_sources
OWNER TO postgres;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment