added char set to database settings
This commit is contained in:
@@ -157,7 +157,8 @@ DATABASES = {
|
|||||||
'HOST': CFG['db_host'],
|
'HOST': CFG['db_host'],
|
||||||
'PORT': CFG['db_port'],
|
'PORT': CFG['db_port'],
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"
|
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
|
||||||
|
'charset': 'utf8mb4',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'slave': {
|
'slave': {
|
||||||
|
|||||||
Reference in New Issue
Block a user