moduleDataSetup = $moduleDataSetup; $this->eavSetupFactory = $eavSetupFactory; } /** * @inheritdoc */ public function apply() { /** @var EavSetup $eavSetup */ $eavSetup = $this->eavSetupFactory->create(['setup' => $this->moduleDataSetup]); // remove default value $eavSetup->updateAttribute( \Magento\Catalog\Model\Product::ENTITY, 'links_exist', 'default_value', null ); } /** * @inheritdoc */ public static function getDependencies() { return [InstallDownloadableAttributes::class]; } /** * @inheritdoc */ public static function getVersion() { return '2.0.3'; } /** * @inheritdoc */ public function getAliases() { return []; } }