Magento 2.4.3
I have an installer class which has this code:
$eavSetup->addAttribute(
Category::ENTITY, 'xyz_image', [
'type' => 'varchar',
'label' => 'Navigation Image',
'input' => 'image',
'backend' => Image::class,
'required' => false,
'sort_order' => 9,
'global' => ScopedAttributeInterface::SCOPE_STORE,
'group' => 'General Information',
]
);
I cant use the class, so I wonder how the resulting SQL might look like? I need it to add ther attribute directly by running the SQL directly.
Thanks