Spotter-VM/lxc-apps/gnuhealth/install/createdb.sql

9 lines
365 B
MySQL
Raw Normal View History

2017-12-02 00:29:49 +01:00
CREATE ROLE gnuhealth NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${GNUHEALTH_PWD}';
CREATE DATABASE gnuhealth;
REVOKE ALL ON DATABASE gnuhealth FROM public;
ALTER DATABASE gnuhealth OWNER TO gnuhealth;
CREATE DATABASE gnuhealth_demo;
REVOKE ALL ON DATABASE gnuhealth_demo FROM public;
ALTER DATABASE gnuhealth_demo OWNER TO gnuhealth;