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