Spotter-VM/opendatakit-build/createdb.sql

5 lines
273 B
SQL

CREATE ROLE opendatakitbuild NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${OPENDATAKITBUILD_PWD}';
CREATE DATABASE opendatakitbuild;
REVOKE ALL ON DATABASE opendatakitbuild FROM public;
ALTER DATABASE opendatakitbuild OWNER TO opendatakitbuild;