ensl.org/db/initdb.d/99_ensl.setup.sql

13 lines
502 B
MySQL
Raw Normal View History

2020-11-08 16:16:00 +00:00
-- 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;