-- allow estate types to be subordinate to submission type
insert ignore allowedNodeLinkT(srcNodeTypeId, dstNodeTypeId, essential, singleSrc)
values (12, 11, 'n', 'n');

-- allow estate types to be rooted to submission branch (so the recommendations work)
insert ignore allowedNodeLinkT(srcNodeTypeId, dstNodeTypeId, essential, singleSrc)
values (5, 11, 'n', 'n');

-- disable special status for estate types
update nodeTypeT set
    requiredForObject = 'n'
where id = 11;

-- don't forget to run __0280_fix-nodelinks-rootnodes to link estate types to new branch
