Minor DB hygiene from the pre-alpha11 audit. The orchestra_workflow_version entity has no storage schema, so its workflow column is unindexed. It is queried by WorkflowVersionManager on publish, garbage collection, migration and admin paths (filtering versions by their workflow), which are cold paths, so this is low priority.
Still worth adding a (workflow) index (or a (workflow, revision) composite) while the module is pre-1.0 and schema changes are applied by hand, since it is cheaper to add now than after 1.0.0 when it would need an update hook. Add an orchestra_workflow_version storage schema declaring the index, mirroring the other engine entities' storage schemas.
Issue fork orchestra-3610756
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mably commentedComment #4
mably commented