fix database problem with 4 byte utf-8
This commit is contained in:
parent
5e1890e990
commit
a3f6a96f95
2 changed files with 55 additions and 0 deletions
|
@ -133,6 +133,9 @@ else:
|
|||
'NAME': os.getenv('DB_NAME', 'system3'),
|
||||
'USER': os.getenv('DB_USER', 'system3'),
|
||||
'PASSWORD': os.getenv('DB_PASSWORD', 'system3'),
|
||||
'OPTIONS': {
|
||||
'charset': 'utf8mb4'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue