Private
Public Access
1
0

added char set to database settings

This commit is contained in:
Sander Roosendaal
2019-09-24 19:23:57 +02:00
parent 918c85f52d
commit a2eb6ee896

View File

@@ -157,7 +157,8 @@ DATABASES = {
'HOST': CFG['db_host'],
'PORT': CFG['db_port'],
'OPTIONS': {
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
'charset': 'utf8mb4',
}
},
'slave': {