<commit_before>-- IFS-5989 -- remove per-organisation t&cs and hide from assessment

SET @eoi_competition_type = (SELECT id FROM competition_type ct WHERE ct.name='Expression of interest');

# -- remove terms from assessment for eoi competitions
# UPDATE section s
#     SET s.display_in_assessment_application_summary = FALSE
# WHERE
#       s.competition_id  IN (SELECT c.id FROM competition c WHERE c.competition_type_id = @eoi_competition_type);

-- we don't want to accept per organisation
UPDATE question q
    SET q.multiple_statuses = FALSE
WHERE
    q.competition_id IN (SELECT c.id FROM competition c WHERE c.competition_type_id = @eoi_competition_type);<commit_msg>IFS-5989 - Removes commented out code from V144_1_4 patch<commit_after>-- IFS-5989 -- remove per-organisation t&cs and hide from assessment

SET @eoi_competition_type = (SELECT id FROM competition_type ct WHERE ct.name='Expression of interest');

-- we don't want to accept per organisation
UPDATE question q
    SET q.multiple_statuses = FALSE
WHERE
    q.competition_id IN (SELECT c.id FROM competition c WHERE c.competition_type_id = @eoi_competition_type);
{'fraction_non_alphanumeric': 0.07306338028169014, 'fraction_numerical': 0.014964788732394365, 'mean_word_length': 4.600985221674877, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1925587', 'n_tokens_mistral': 354, 'n_tokens_neox': 334, 'n_words': 118}