mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Use utf8mb3 for MySQL (same as existing release) to fix CI
This commit is contained in:
parent
7480772404
commit
abcb3d1cc3
3 changed files with 7 additions and 7 deletions
|
|
@ -68,8 +68,8 @@ jobs:
|
|||
password: password
|
||||
my-cnf: |
|
||||
[mysqld]
|
||||
character-set-server=utf8mb4
|
||||
collation-server=utf8mb4_unicode_ci
|
||||
character-set-server=utf8mb3
|
||||
collation-server=utf8mb3_unicode_ci
|
||||
innodb_default_row_format=DYNAMIC
|
||||
innodb_file_per_table=1
|
||||
|
||||
|
|
|
|||
8
.github/workflows/mysql_settings.py
vendored
8
.github/workflows/mysql_settings.py
vendored
|
|
@ -47,21 +47,21 @@ DATABASES = {
|
|||
"HOST": "127.0.0.1",
|
||||
"PORT": "", # use default port
|
||||
"OPTIONS": {
|
||||
"charset": "utf8mb4",
|
||||
"charset": "utf8mb3",
|
||||
# Note: MySQL server global settings (character set, collation, row format) are set
|
||||
# in setup-database action before migrations run. The init_command sets per-connection
|
||||
# variables that don't require special privileges.
|
||||
"init_command": (
|
||||
"SET collation_connection=utf8mb4_unicode_ci, "
|
||||
"SET collation_connection=utf8mb3_unicode_ci, "
|
||||
"sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1"
|
||||
),
|
||||
},
|
||||
"TEST": {
|
||||
"NAME": "evennia",
|
||||
"OPTIONS": {
|
||||
"charset": "utf8mb4",
|
||||
"charset": "utf8mb3",
|
||||
"init_command": (
|
||||
"SET collation_connection=utf8mb4_unicode_ci, "
|
||||
"SET collation_connection=utf8mb3_unicode_ci, "
|
||||
"sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1"
|
||||
),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue