Spotter-VM/ecogis/install/createdb.sql
Disassembler ce325cf3d0
Squashed commit of the following:
- Bump basic OS to Alpine 3.9
 - Restructure repo and add layer versioning
 - Use JSON for all metadata
 - Merge abuild branch (but without abuild)
2019-02-26 20:24:02 +01:00

5 lines
213 B
SQL

CREATE ROLE ecogis NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${ECOGIS_PWD}';
CREATE DATABASE ecogis;
REVOKE ALL ON DATABASE ecogis FROM public;
ALTER DATABASE ecogis OWNER TO ecogis;