mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Better fix for ALF-4431: Upgrade fails to create UsageDelta tables
- 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
This commit is contained in:
@@ -16,7 +16,7 @@ CREATE TABLE alf_usage_delta
|
||||
PRIMARY KEY (id),
|
||||
KEY fk_alf_usaged_n (node_id),
|
||||
CONSTRAINT fk_alf_usaged_n FOREIGN KEY (node_id) REFERENCES alf_node (id)
|
||||
) ENGINE=InnoDB;
|
||||
) ENGINE=InnoDB; -- (optional)
|
||||
|
||||
--
|
||||
-- Record script finish
|
||||
|
Reference in New Issue
Block a user