Spotter-VM/gnuhealth/tmp/gnuhealth-createdb.sql

5 lines
231 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;