Change default database charset

This commit is contained in:
Óscar M. Lage 2024-11-14 18:09:00 +01:00
parent 5e8e4bab9e
commit 1dd2aeb7eb

View File

@ -83,6 +83,9 @@ DATABASES = {
'PASSWORD': config('MYSQL_PASSWORD'),
'HOST': config('MYSQL_HOST'),
'PORT': config('MYSQL_PORT'),
'OPTIONS': {
'charset': 'utf8mb4',
},
}
}