mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
CI: More MySQL work
This commit is contained in:
parent
fe80bfb80c
commit
043b8d2d65
2 changed files with 13 additions and 5 deletions
12
.github/workflows/mysql_settings.py
vendored
12
.github/workflows/mysql_settings.py
vendored
|
|
@ -48,13 +48,21 @@ DATABASES = {
|
|||
"PORT": "", # use default port
|
||||
"OPTIONS": {
|
||||
"charset": "utf8mb4",
|
||||
"init_command": "SET collation_connection=utf8mb4_unicode_ci, sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1",
|
||||
# Note: innodb_default_row_format is set globally in setup-database action
|
||||
# This ensures all new tables use DYNAMIC format for utf8mb4 long keys
|
||||
"init_command": (
|
||||
"SET collation_connection=utf8mb4_unicode_ci, "
|
||||
"sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1"
|
||||
),
|
||||
},
|
||||
"TEST": {
|
||||
"NAME": "evennia",
|
||||
"OPTIONS": {
|
||||
"charset": "utf8mb4",
|
||||
"init_command": "SET collation_connection=utf8mb4_unicode_ci, sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1",
|
||||
"init_command": (
|
||||
"SET collation_connection=utf8mb4_unicode_ci, "
|
||||
"sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1"
|
||||
),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue