CI: Test setting mysql dynamic row format via django

This commit is contained in:
Griatch 2025-12-22 10:33:09 +01:00
parent e846707461
commit 99229c7de8

View file

@ -53,7 +53,8 @@ DATABASES = {
# variables that don't require special privileges.
"init_command": (
"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": {
@ -62,7 +63,8 @@ DATABASES = {
"charset": "utf8mb4",
"init_command": (
"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",
),
},
},