CI: Fixing dynamic mysql syntax
This commit is contained in:
parent
2742515241
commit
6073e56e3f
1 changed files with 2 additions and 4 deletions
6
.github/workflows/mysql_settings.py
vendored
6
.github/workflows/mysql_settings.py
vendored
|
|
@ -53,8 +53,7 @@ DATABASES = {
|
||||||
# variables that don't require special privileges.
|
# variables that don't require special privileges.
|
||||||
"init_command": (
|
"init_command": (
|
||||||
"SET collation_connection=utf8mb4_unicode_ci, "
|
"SET collation_connection=utf8mb4_unicode_ci, "
|
||||||
"sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1, "
|
"sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1"
|
||||||
"innodb_default_row_format=DYNAMIC"
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
"TEST": {
|
"TEST": {
|
||||||
|
|
@ -63,8 +62,7 @@ DATABASES = {
|
||||||
"charset": "utf8mb4",
|
"charset": "utf8mb4",
|
||||||
"init_command": (
|
"init_command": (
|
||||||
"SET collation_connection=utf8mb4_unicode_ci, "
|
"SET collation_connection=utf8mb4_unicode_ci, "
|
||||||
"sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1, "
|
"sql_mode='STRICT_TRANS_TABLES', innodb_strict_mode=1"
|
||||||
"innodb_default_row_format=DYNAMIC"
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue