9 lines
339 B
SQL
9 lines
339 B
SQL
CREATE ROLE sahana NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${SAHANA_PWD}';
|
|
CREATE DATABASE sahana;
|
|
REVOKE ALL ON DATABASE sahana FROM public;
|
|
ALTER DATABASE sahana OWNER TO sahana;
|
|
\c sahana;
|
|
CREATE EXTENSION postgis;
|
|
GRANT ALL ON geometry_columns TO sahana;
|
|
GRANT ALL ON spatial_ref_sys TO sahana;
|