Spotter-VM/kanboard/tmp/kanboard-createdb.sql
2017-10-13 09:33:26 +02:00

5 lines
225 B
SQL

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