BookStack/dev/docker/init.db/01.sql
Abijeet a0c605faae Docker: Fix PHP tests
This creates another mysql_testing database during db service setup

Replace server with env tags in phpunit.xml in order to force
override certain parameters when tests are run. See:
https://github.com/sebastianbergmann/phpunit/issues/2353 for more
information.

Rename primary developer Docker database from bookstack-test to
bookstack-dev. bookstack-test is used as the mysql_testing database
2021-01-31 18:54:24 +05:30

6 lines
155 B
SQL

# create test database
CREATE DATABASE IF NOT EXISTS `bookstack-test`;
# grant rights
GRANT ALL PRIVILEGES ON `bookstack-test`.* TO 'bookstack-test'@'%';