mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Use recommended collation option
This commit is contained in:
parent
fa3c24b085
commit
4994920119
@ -553,7 +553,8 @@ db_config['TEST'] = {
|
|||||||
|
|
||||||
# Set collation option for mysql test database
|
# Set collation option for mysql test database
|
||||||
if 'mysql' in db_engine:
|
if 'mysql' in db_engine:
|
||||||
db_config['TEST']['COLLATION'] = 'utf8mb4'
|
# Ref: https://docs.djangoproject.com/en/4.0/ref/databases/#collation-settings
|
||||||
|
db_config['TEST']['COLLATION'] = 'utf8_bin'
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': db_config
|
'default': db_config
|
||||||
|
Loading…
Reference in New Issue
Block a user