startSetup(); $connection = $setup->getConnection(); $adminUserTable = $setup->getTable('admin_user'); $connection->addColumn($adminUserTable, 'msp_tfa_enabled', [ 'type' => Table::TYPE_INTEGER, 'length' => '1', 'nullable' => false, 'comment' => 'Two Factor Authentication Enabled', ]); $connection->addColumn($adminUserTable, 'msp_tfa_secret', [ 'type' => Table::TYPE_TEXT, 'nullable' => false, 'comment' => 'Two Factor Authentication Secret', ]); $connection->addColumn($adminUserTable, 'msp_tfa_activated', [ 'type' => Table::TYPE_INTEGER, 'length' => '1', 'nullable' => false, 'comment' => 'Two Factor Authentication Activated', ]); $setup->endSetup(); } }