Files
dougal-software/etc/db
D. Berge 2ee9b0cac8 Add midnight shot synthetic event.
It inserts `LDSP` and `FDSP` labels, if those exist
in the `labels` table, on the last and first shotpoints
of the day when a sequence is shot through midnight.

The server timezone is always set to UTC so the midnight
shot implicitly refers to UTC through this.
2020-08-13 23:44:25 +02:00
..
2020-08-12 14:24:10 +02:00

Database configuration

Database template (database-template.sql)

Used on installation to create the Dougal database.

Created with:

pg_dump -U postgres --create --schema-only --exclude-schema='survey_*' dougal >database-template.sql

Schema template (schema-template.sql)

Used by bin/create-survey.sh during project creation to add and populate a new schema.

Created with:

SCHEMA_NAME=survey_X EPSG_CODE=XXXXX $DOUGAL_ROOT/sbin/dump_schema.sh