Skip to content

Commit dbc6524

Browse files
committed
AC-11995:Add compatibility with MySQL 8.4 LTS for Magento CE
1 parent bda94b5 commit dbc6524

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

app/code/Magento/Catalog/etc/db_schema.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
<index referenceId="CATALOG_PRODUCT_ENTITY_SKU" indexType="btree">
3232
<column name="sku"/>
3333
</index>
34-
<!-- <constraint xsi:type="unique" referenceId="CATALOG_PRODUCT_ENTITY_ENTITY_ID">-->
35-
<!-- <column name="entity_id"/>-->
36-
<!-- </constraint>-->
3734
</table>
3835
<table name="catalog_product_entity_datetime" resource="default" engine="innodb"
3936
comment="Catalog Product Datetime Attribute Backend Table">

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +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_SMALLINT_REF` (`smallint_ref`),
30-
UNIQUE KEY `REFERENCE_TABLE_TINYINT_REF` (`tinyint_ref`)
29+
UNIQUE KEY `REFERENCE_TABLE_SMALLINT_REF` (`smallint_ref`)
3130
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3',
3231
'test_table' => 'CREATE TABLE `test_table` (
3332
`smallint` smallint DEFAULT NULL,

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
<constraint xsi:type="unique" referenceId="REFERENCE_TABLE_SMALLINT_REF">
3030
<column name="smallint_ref"/>
3131
</constraint>
32-
<constraint xsi:type="unique" referenceId="REFERENCE_TABLE_TINYINT_REF">
33-
<column name="tinyint_ref"/>
34-
</constraint>
3532
</table>
3633
<table name="auto_increment_test" resource="default">
3734
<column xsi:type="int" name="int_auto_increment_with_nullable" identity="true" padding="12" unsigned="true"

0 commit comments

Comments
 (0)