Skip to content

Commit 377d22a

Browse files
committed
AC-11995:Add compatibility with MySQL 8.4 LTS
1 parent 7a6d2b8 commit 377d22a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

dev/tests/setup-integration/_files/Magento/TestSetupDeclarationModule1/etc/db_schema.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
<constraint xsi:type="primary" referenceId="tinyint_primary">
2525
<column name="tinyint_ref"/>
2626
</constraint>
27+
<constraint xsi:type="unique" referenceId="tinyint_ref_unique">
28+
<column name="tinyint_ref"/>
29+
</constraint>
2730
</table>
2831
<table name="auto_increment_test" resource="default">
2932
<column xsi:type="int" name="int_auto_increment_with_nullable" identity="true" padding="12" unsigned="true"

dev/tests/setup-integration/_files/Magento/TestSetupDeclarationModule1/fixture/declarative_installer/constraint_modification.mysql829.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
`bigint_not_default_not_nullable` bigint unsigned NOT NULL,
2727
`smallint_ref` smallint NOT NULL DEFAULT \'0\',
2828
PRIMARY KEY (`tinyint_ref`,`smallint_ref`),
29+
UNIQUE KEY `REFERENCE_TABLE_TINYINT_REF` (`tinyint_ref`),
2930
UNIQUE KEY `REFERENCE_TABLE_SMALLINT_REF` (`smallint_ref`)
3031
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3',
3132
'test_table' => 'CREATE TABLE `test_table` (

0 commit comments

Comments
 (0)