Skip to content
Snippets Groups Projects
Commit 2b0f935c authored by kaloyane's avatar kaloyane
Browse files

[LMS-2389] screening-specific migration : the property "DESCRIPTION" should be...

[LMS-2389] screening-specific migration : the property "DESCRIPTION" should be optional for materials "VIRUS", "BACTERIUM", "COMPOUND"

SVN: 22067
parent b6bee993
No related branches found
No related tags found
No related merge requests found
---------------------------------------------
-- the property "DESCRIPTION" should be optional for materials "VIRUS", "BACTERIUM", "COMPOUND"
-- (screening-specific requirement)
---------------------------------------------
UPDATE material_type_property_types
SET is_mandatory=FALSE
WHERE
maty_id IN (SELECT id FROM material_types WHERE code IN ('VIRUS', 'BACTERIUM', 'COMPOUND'))
AND
prty_id = (SELECT id FROM property_types WHERE code='DESCRIPTION');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment