11 lines
368 B
MySQL
11 lines
368 B
MySQL
|
CREATE ROLE cts NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${CTS_PWD}';
|
||
|
CREATE DATABASE cts;
|
||
|
REVOKE ALL ON DATABASE cts FROM public;
|
||
|
ALTER DATABASE cts OWNER TO cts;
|
||
|
\c cts;
|
||
|
CREATE EXTENSION hstore;
|
||
|
CREATE EXTENSION postgis;
|
||
|
GRANT ALL ON geometry_columns TO cts;
|
||
|
GRANT ALL ON spatial_ref_sys TO cts;
|
||
|
GRANT ALL ON geography_columns TO cts;
|