Test init_command for mysql

This commit is contained in:
Griatch 2019-03-24 13:37:11 +01:00
parent 912e66eff1
commit 39dedb70bd
3 changed files with 5 additions and 15 deletions

View file

@ -47,14 +47,14 @@ DATABASES = {
'HOST': 'localhost',
'PORT': '', # use default port
'OPTIONS': {
# 'read_default_file': '.travis/my.conf',
'charset': 'utf8mb4'
'charset': 'utf8mb4',
'init_command': 'set collation_connection=utf8mb4_unicode_ci'
},
'TEST': {
'NAME': 'default',
'OPTIONS': {
# 'read_default_file': '.travis/my.conf'
'charset': 'utf8mb4'
'charset': 'utf8mb4',
'init_command': 'set collation_connection=utf8mb4_unicode_ci'
}
}
}