. */ namespace OrangeHRM\Installer\Migration\V4_1; use Doctrine\DBAL\Types\Type; use Doctrine\DBAL\Types\Types; use OrangeHRM\Installer\Util\V1\AbstractMigration; class Migration extends AbstractMigration { /** * @inheritDoc */ public function up(): void { $this->getSchemaHelper()->changeColumn( 'hs_hr_config', 'value', ['Type' => Type::getType(Types::TEXT), 'Notnull' => true] ); $this->getConfigHelper()->setConfigValue( 'open_source_integrations', '' ); $this->getConfigHelper()->setConfigValue('authentication.status', 'Enable'); $this->getConfigHelper()->setConfigValue('authentication.enforce_password_strength', 'on'); $this->getConfigHelper()->setConfigValue('authentication.default_required_password_strength', 'strong'); } /** * @inheritDoc */ public function getVersion(): string { return '4.1'; } }