Spotter-VM/kanboard/install/createdb.sql

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;