hashvarchar and description text fields have to be added to the app/code/Magento/MediaGallery/etc/db_schema.xml in magento2 repo
db_schema_whitelist.json should be updated accordingly (see documentation)
getHash(): string and getDescription(): string methods should be added to the \Magento\MediaGalleryApi\Api\Data\AssetInterface
getHash(): string and getDescription(): string methods implementation should be added to the \Magento\MediaGallery\Model\Asset ($description and $hash last optional constructor parameters should be added)
The related existing tests should be upaded to cover the new fileds
Story https://github.com/magento/adobe-stock-integration/issues/724: User edits image meta data in Media Gallery https://github.com/magento/adobe-stock-integration/issues/1183: Magento extracts image meta data from file
Description
hash
varchar anddescription
text fields have to be added to theapp/code/Magento/MediaGallery/etc/db_schema.xml
in magento2 repodb_schema_whitelist.json
should be updated accordingly (see documentation)getHash(): string
andgetDescription(): string
methods should be added to the\Magento\MediaGalleryApi\Api\Data\AssetInterface
getHash(): string
andgetDescription(): string
methods implementation should be added to the\Magento\MediaGallery\Model\Asset
($description
and$hash
last optional constructor parameters should be added)