22168: ALF-1962 : Port and patch additional index to alf_child_assoc - idx_alf_cass_pri
- This merge does an early add of the index when upgrading directly from 2.1.7 or 2.2.1,
avoiding unecessary table modification
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Investigation of previous attempt showed that the use of 'alternatives' was not going to work here
- Pulled out all 'alf_usage_delta' creations from other upgrade scripts
- Removed alternatives from patch 'patch.db-V3.4-UsageTables'
- Added '--(optional)' at various locations to keep things sane
- Tested 2.1.7, 2.2.x and clean bootstrap on MySQL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261