Add column by which to group related revisions directly in the flow_revision table.
Which wiki's are affected:
flowdb on the ext1db
What is the change to those tables:
ALTER TABLE /*_*/flow_revision ADD rev_type_id binary(11) not null default '';
CREATE INDEX /*i*/flow_revision_type_id ON /*_*/flow_revision (rev_type, rev_type_id);
Links to gerrit changes: