moduleDataSetup = $moduleDataSetup; $this->categorySetupFactory = $categorySetupFactory; } /** * {@inheritdoc} */ public function apply() { /** @var CategorySetup $categorySetup */ $categorySetup = $this->categorySetupFactory->create(['setup' => $this->moduleDataSetup]); $categorySetup->updateAttribute(3, 54, 'default_value', 1); } /** * {@inheritdoc} */ public static function getDependencies() { return [ SetNewResourceModelsPaths::class, ]; } /** * {@inheritdoc} */ public static function getVersion() { return '2.0.3'; } /** * {@inheritdoc} */ public function getAliases() { return []; } }