mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-09 12:47:31 +08:00
![Abijeet](/assets/img/avatar_default.png)
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
6 lines
155 B
SQL
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'@'%';
|