Skip to content

Commit 93296b1

Browse files
committed
Merge branch 'ASI-1778' of github.com:Nazar65/magento2 into asi-delivery-24
2 parents d1ff2ca + b8f103b commit 93296b1

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
99
<table name="media_gallery_asset" resource="default" engine="innodb" comment="Media Gallery Asset">
1010
<column xsi:type="int" name="id" unsigned="true" nullable="false" identity="true" comment="Entity ID"/>
11-
<column xsi:type="varchar" name="path" length="255" nullable="true" comment="Path"/>
11+
<column xsi:type="text" name="path" nullable="true" comment="Path"/>
1212
<column xsi:type="varchar" name="title" length="255" nullable="true" comment="Title"/>
1313
<column xsi:type="text" name="description" nullable="true" comment="Description"/>
1414
<column xsi:type="varchar" name="source" length="255" nullable="true" comment="Source"/>
@@ -25,9 +25,6 @@
2525
<index referenceId="MEDIA_GALLERY_ID" indexType="btree">
2626
<column name="id"/>
2727
</index>
28-
<constraint xsi:type="unique" referenceId="MEDIA_GALLERY_ID_PATH_TITLE_CONTENT_TYPE_WIDTH_HEIGHT">
29-
<column name="path"/>
30-
</constraint>
3128
<index referenceId="MEDIA_GALLERY_ASSET_TITLE" indexType="fulltext">
3229
<column name="title"/>
3330
</index>

app/code/Magento/MediaGallery/etc/db_schema_whitelist.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"MEDIA_GALLERY_ASSET_TITLE": true
2121
},
2222
"constraint": {
23-
"MEDIA_GALLERY_ID_PATH_TITLE_CONTENT_TYPE_WIDTH_HEIGHT": true,
2423
"PRIMARY": true,
2524
"MEDIA_GALLERY_ASSET_PATH": true
2625
}

0 commit comments

Comments
 (0)