startSetup(); // Action to do if module version is less than 1.0.0.0 if (version_compare($context->getVersion(), '1.1.0') < 0) { $tableName = $installer->getTable('edeclic_parution'); $setup->getConnection()->addColumn($tableName,'store_ids',[ 'type' => Table::TYPE_TEXT, 'length' => 255, 'unsigned' => true, 'nullable' => false, 'default' => '', 'comment' => 'store view' ]); } $setup->endSetup(); } }