IDEMPIERE-390 Attachments/archives on load balancer scenario / Fix oracle migration script
This commit is contained in:
parent
a1c02e5d6a
commit
5c01bfc982
|
@ -982,7 +982,6 @@ WHERE storeattachmentsonfilesystem='Y' AND (windowsattachmentpath is not null or
|
||||||
|
|
||||||
UPDATE ad_clientinfo
|
UPDATE ad_clientinfo
|
||||||
SET ad_storageprovider_id = (SELECT ad_storageprovider_id FROM ad_storageprovider WHERE ad_storageprovider.ad_client_id=ad_clientinfo.ad_client_id)
|
SET ad_storageprovider_id = (SELECT ad_storageprovider_id FROM ad_storageprovider WHERE ad_storageprovider.ad_client_id=ad_clientinfo.ad_client_id)
|
||||||
FROM ad_storageprovider
|
|
||||||
WHERE ad_clientinfo.ad_client_id IN
|
WHERE ad_clientinfo.ad_client_id IN
|
||||||
(SELECT ad_client_id FROM ad_client WHERE storeattachmentsonfilesystem='Y' AND (windowsattachmentpath is not null or unixattachmentpath is not null))
|
(SELECT ad_client_id FROM ad_client WHERE storeattachmentsonfilesystem='Y' AND (windowsattachmentpath is not null or unixattachmentpath is not null))
|
||||||
;
|
;
|
||||||
|
|
|
@ -982,7 +982,6 @@ WHERE storeattachmentsonfilesystem='Y' AND (windowsattachmentpath is not null or
|
||||||
|
|
||||||
UPDATE ad_clientinfo
|
UPDATE ad_clientinfo
|
||||||
SET ad_storageprovider_id = (SELECT ad_storageprovider_id FROM ad_storageprovider WHERE ad_storageprovider.ad_client_id=ad_clientinfo.ad_client_id)
|
SET ad_storageprovider_id = (SELECT ad_storageprovider_id FROM ad_storageprovider WHERE ad_storageprovider.ad_client_id=ad_clientinfo.ad_client_id)
|
||||||
FROM ad_storageprovider
|
|
||||||
WHERE ad_clientinfo.ad_client_id IN
|
WHERE ad_clientinfo.ad_client_id IN
|
||||||
(SELECT ad_client_id FROM ad_client WHERE storeattachmentsonfilesystem='Y' AND (windowsattachmentpath is not null or unixattachmentpath is not null))
|
(SELECT ad_client_id FROM ad_client WHERE storeattachmentsonfilesystem='Y' AND (windowsattachmentpath is not null or unixattachmentpath is not null))
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue