mirror of
https://github.com/evennia/evennia.git
synced 2025-10-29 11:26:10 +00:00
Test to pass SET NAMES to init_command
This commit is contained in:
parent
ee1e7c6a7d
commit
362f5cf5c1
@ -39,7 +39,6 @@ before_script:
|
||||
- cp .travis/${TESTING_DB}_settings.py testing_mygame/server/conf/settings.py
|
||||
- cd testing_mygame
|
||||
- evennia migrate
|
||||
- mysql -u root -e "ALTER TABLE accounts_accountdb CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;" evennia
|
||||
- evennia collectstatic --noinput
|
||||
|
||||
script:
|
||||
|
||||
@ -54,7 +54,8 @@ DATABASES = {
|
||||
'NAME': 'default',
|
||||
'OPTIONS': {
|
||||
'charset': 'utf8mb4',
|
||||
'init_command': 'set collation_connection=utf8mb4_unicode_ci'
|
||||
# 'init_command': 'set collation_connection=utf8mb4_unicode_ci'
|
||||
'init_command': "SET NAMES 'utf8mb4'"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user