fix database problem with 4 byte utf-8

This commit is contained in:
j3d1 2024-01-16 00:10:32 +01:00
parent 5e1890e990
commit a3f6a96f95
2 changed files with 55 additions and 0 deletions

View file

@ -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'
}
}
}