9 lines
339 B
MySQL
9 lines
339 B
MySQL
|
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;
|