mirror of
https://github.com/evennia/evennia.git
synced 2026-04-06 16:44:08 +02:00
Test to pass SET NAMES to init_command
This commit is contained in:
parent
4001da059c
commit
2953afc7b7
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue