Use recommended collation option

This commit is contained in:
Oliver 2022-04-22 13:48:15 +10:00
parent fa3c24b085
commit 4994920119

View File

@ -553,7 +553,8 @@ db_config['TEST'] = {
# Set collation option for mysql test database
if 'mysql' in db_engine:
db_config['TEST']['COLLATION'] = 'utf8mb4'
# Ref: https://docs.djangoproject.com/en/4.0/ref/databases/#collation-settings
db_config['TEST']['COLLATION'] = 'utf8_bin'
DATABASES = {
'default': db_config