Spotter-VM/odk/createdb.sql

5 lines
195 B
MySQL
Raw Normal View History

2018-03-25 14:37:57 +02:00
CREATE ROLE odk NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${ODK_PWD}';
CREATE DATABASE odk;
REVOKE ALL ON DATABASE odk FROM public;
ALTER DATABASE odk OWNER TO odk;