ensl.org/db/initdb.d/99_ensl.setup.sql
2020-11-08 17:16:00 +01:00

12 lines
502 B
SQL

-- FIXME: this should be somewhere else probably
CREATE DATABASE IF NOT EXISTS ensl;
GRANT ALL PRIVILEGES ON ensl.* TO 'ensl'@'%' WITH GRANT OPTION;
CREATE DATABASE IF NOT EXISTS ensl_development;
GRANT ALL PRIVILEGES ON ensl_development.* TO 'ensl'@'%' WITH GRANT OPTION;
CREATE DATABASE IF NOT EXISTS ensl_test;
GRANT ALL PRIVILEGES ON ensl_test.* TO 'ensl'@'%' WITH GRANT OPTION;
CREATE DATABASE IF NOT EXISTS ensl_staging;
GRANT ALL PRIVILEGES ON ensl_staging.* TO 'ensl'@'%' WITH GRANT OPTION;