mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
SAIL-382: DAO to HEAD merge fallout: fix schema upgrade patch "property-unique-ctx-value"
- to enable upgrade from before 3.2 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20842 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -7,10 +7,12 @@
|
|||||||
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
||||||
--
|
--
|
||||||
|
|
||||||
|
-- Optional if upgrading from before 3.2.x
|
||||||
|
|
||||||
ALTER TABLE alf_prop_unique_ctx
|
ALTER TABLE alf_prop_unique_ctx
|
||||||
ADD COLUMN prop1_id BIGINT NULL AFTER value3_prop_id,
|
ADD COLUMN prop1_id BIGINT NULL AFTER value3_prop_id,
|
||||||
ADD CONSTRAINT fk_alf_propuctx_p1 FOREIGN KEY (prop1_id) REFERENCES alf_prop_root (id)
|
ADD CONSTRAINT fk_alf_propuctx_p1 FOREIGN KEY (prop1_id) REFERENCES alf_prop_root (id)
|
||||||
;
|
; --(optional)
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Record script finish
|
-- Record script finish
|
||||||
|
@@ -7,10 +7,13 @@
|
|||||||
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
-- Please contact support@alfresco.com if you need assistance with the upgrade.
|
||||||
--
|
--
|
||||||
|
|
||||||
|
-- Optional if upgrading from before 3.2.x
|
||||||
|
|
||||||
ALTER TABLE alf_prop_unique_ctx
|
ALTER TABLE alf_prop_unique_ctx
|
||||||
ADD COLUMN prop1_id INT8,
|
ADD COLUMN prop1_id INT8,
|
||||||
ADD CONSTRAINT fk_alf_propuctx_p1 FOREIGN KEY (prop1_id) REFERENCES alf_prop_root (id)
|
ADD CONSTRAINT fk_alf_propuctx_p1 FOREIGN KEY (prop1_id) REFERENCES alf_prop_root (id)
|
||||||
;
|
; --(optional)
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Record script finish
|
-- Record script finish
|
||||||
|
Reference in New Issue
Block a user