• Jérome Perrin's avatar
    Add portal_type in *_state indexs, for better performance with worklists · 46202cb4
    Jérome Perrin authored
    update script:
    
    ALTER TABLE `catalog`
    DROP INDEX `validation_state`,
    DROP INDEX `simulation_state`,
    DROP INDEX `causality_state`,
    ADD INDEX `validation_state_portal_type` (`validation_state`, `portal_type`),
    ADD INDEX `simulation_state_portal_type` (`simulation_state`, `portal_type`),
    ADD INDEX `causality_state_portal_type` (`causality_state`, `portal_type`)
    46202cb4
z_create_catalog.xml 4.23 KB