File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
app/code/Magento/MediaGallery/etc Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 8
8
<schema xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd" >
9
9
<table name =" media_gallery_asset" resource =" default" engine =" innodb" comment =" Media Gallery Asset" >
10
10
<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" />
12
12
<column xsi : type =" varchar" name =" title" length =" 255" nullable =" true" comment =" Title" />
13
13
<column xsi : type =" text" name =" description" nullable =" true" comment =" Description" />
14
14
<column xsi : type =" varchar" name =" source" length =" 255" nullable =" true" comment =" Source" />
25
25
<index referenceId =" MEDIA_GALLERY_ID" indexType =" btree" >
26
26
<column name =" id" />
27
27
</index >
28
- <constraint xsi : type =" unique" referenceId =" MEDIA_GALLERY_ID_PATH_TITLE_CONTENT_TYPE_WIDTH_HEIGHT" >
29
- <column name =" path" />
30
- </constraint >
31
28
<index referenceId =" MEDIA_GALLERY_ASSET_TITLE" indexType =" fulltext" >
32
29
<column name =" title" />
33
30
</index >
Original file line number Diff line number Diff line change 20
20
"MEDIA_GALLERY_ASSET_TITLE" : true
21
21
},
22
22
"constraint" : {
23
- "MEDIA_GALLERY_ID_PATH_TITLE_CONTENT_TYPE_WIDTH_HEIGHT" : true ,
24
23
"PRIMARY" : true ,
25
24
"MEDIA_GALLERY_ASSET_PATH" : true
26
25
}
You can’t perform that action at this time.
0 commit comments