startSetup(); $installer->run(" INSERT IGNORE INTO `{$installer->getTable('catalog/product_relation')}` SELECT `parent_product_id`, `product_id` FROM `{$installer->getTable('bundle/selection')}`; "); $installer->endSetup();