mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (4.3/Cloud)
73897: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud) 73810: MNT-11668: improve mysql upgrade script NodeDeleted.sql using SET FOREIGN_KEY_CHECKS Disable foreign key constraints check during NodeDeleted.sql execution on mysql git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@74834 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
||||
--
|
||||
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
--ASSIGN:SYSTEM_NS_ID=id
|
||||
select id from alf_namespace where uri = 'http://www.alfresco.org/model/system/1.0';
|
||||
@@ -129,7 +129,7 @@ alter table alf_usage_delta add constraint fk_alf_usaged_n foreign key (node_id)
|
||||
|
||||
alter table alf_node_aspects add constraint fk_alf_nasp_n foreign key (node_id) references alf_node(id);
|
||||
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
|
||||
--
|
||||
-- Record script finish
|
||||
|
Reference in New Issue
Block a user