Move dev scripts and docker config under dev directory

[MAILPOET-3919]
This commit is contained in:
Jan Jakes
2022-01-17 11:14:04 +01:00
committed by Veljko V
parent 26e0aff46b
commit df60207a50
15 changed files with 13 additions and 13 deletions

10
dev/database/create_test_db.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -e
RUNMYSQL="mysql --user=root --password=${MYSQL_ROOT_PASSWORD}"
$RUNMYSQL <<EOSQL
CREATE DATABASE ${MYSQL_TEST_DATABASE};
GRANT ALL PRIVILEGES ON ${MYSQL_TEST_DATABASE}.* TO '${MYSQL_USER}'@'%';
FLUSH PRIVILEGES;
EOSQL