Notice: Undefined index: entity_type_id

I am using datapatch to update attribute my code is namespace Devall\SpecialPrice\Setup\Patch\Data; use Magento\Framework\Setup\Patch\DataPatchInterface; use Magento\Eav\Setup\EavSetup; class AddLabaCenaAttribute implements DataPatchInterface protected $eavSetupFactory; public function __construct(EavSetup $eavSetupFactory) { $this->eavSetupFactory = $eavSetupFactory; } /** * @inheritDoc */ public static function getDependencies() { return []; } /** * @inheritDoc */ public function getAliases() { return []; } /**…