moduleDataSetup = $moduleDataSetup; $this->consentLogResource = $consentLogResource; } /** * @inheritdoc */ public function apply() { $setup = $this->moduleDataSetup; $connection = $setup->getConnection(); $setup->startSetup(); $connection->update( $this->consentLogResource->getMainTable(), [ConsentLogInterface::INITIATED_BY => ConsentInitiator::INITIATOR_CUSTOMER], sprintf('%s IS NULL', ConsentLogInterface::INITIATED_BY) ); $setup->endSetup(); } /** * @inheritdoc */ public static function getDependencies() { return []; } /** * @inheritdoc */ public function getAliases() { return []; } }