Test init_command for mysql initialization

This commit is contained in:
Griatch 2019-03-20 23:14:28 +01:00
parent 3609709915
commit 035ff3e99e

View file

@ -47,14 +47,12 @@ DATABASES = {
'HOST': 'localhost',
'PORT': '', # use default port
'OPTIONS': {
'ENCODING': 'utf8mb4',
'COLLATION': 'utf8mb4_unicode_ci'
'init_command': 'SET collation_connection = utf8_general_ci'
},
'TEST': {
'NAME': 'default',
'OPTIONS': {
'ENCODING': 'utf8mb4',
'COLLATION': 'utf8mb4_unicode_ci'
'init_command': 'SET collation_connection = utf8_general_ci'
}
}
}