startSetup(); if (version_compare($context->getVersion(), '2.0.1') < 0) { $installer ->getConnection() ->modifyColumn('test_table', 'float', ['type' => 'float', 'default' => 29]); } $installer->endSetup(); } }