Change default database charset
This commit is contained in:
parent
5e8e4bab9e
commit
1dd2aeb7eb
@ -83,6 +83,9 @@ DATABASES = {
|
|||||||
'PASSWORD': config('MYSQL_PASSWORD'),
|
'PASSWORD': config('MYSQL_PASSWORD'),
|
||||||
'HOST': config('MYSQL_HOST'),
|
'HOST': config('MYSQL_HOST'),
|
||||||
'PORT': config('MYSQL_PORT'),
|
'PORT': config('MYSQL_PORT'),
|
||||||
|
'OPTIONS': {
|
||||||
|
'charset': 'utf8mb4',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user