mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
SAIL-294: Fixed PostgreSQL creation of table alf_prop_unique_ctx
- The value1 column was declared as NOT NULL but nulls are allowed - Checked other versions of the script and upgrade scripts; they were fine. - Detected by unit test against PostgreSQL git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21250 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -110,7 +110,7 @@ CREATE TABLE alf_prop_unique_ctx
|
||||
value1_prop_id INT8 NOT NULL,
|
||||
value2_prop_id INT8 NOT NULL,
|
||||
value3_prop_id INT8 NOT NULL,
|
||||
prop1_id INT8 NOT NULL,
|
||||
prop1_id INT8 NULL,
|
||||
CONSTRAINT fk_alf_propuctx_v1 FOREIGN KEY (value1_prop_id) REFERENCES alf_prop_value (id) ON DELETE CASCADE,
|
||||
CONSTRAINT fk_alf_propuctx_v2 FOREIGN KEY (value2_prop_id) REFERENCES alf_prop_value (id) ON DELETE CASCADE,
|
||||
CONSTRAINT fk_alf_propuctx_v3 FOREIGN KEY (value3_prop_id) REFERENCES alf_prop_value (id) ON DELETE CASCADE,
|
||||
|
Reference in New Issue
Block a user