<commit_before>ALTER TABLE INSURANCE ADD IS_USED_MOTOR BIT DEFAULT 0 NULL;
ALTER TABLE INSURANCE ADD MOTOR_VIN VARCHAR(50) DEFAULT '000-000';
ALTER TABLE INSURANCE ADD BENEFICIARY VARCHAR(50) DEFAULT NULL;

UPDATE INSURANCE INS
SET INS.BENEFICIARY = (SELECT
                         NAME
                       FROM CONTACT
                       WHERE ID = INS.CLIENT_ID)
WHERE ins.BENEFICIARY IS NULL;

UPDATE INSURANCE
SET COVER_TIME = 0
WHERE COVER_TIME IS NULL;<commit_msg>CRM-121 Реализовать сервис получения списка торговых точек<commit_after>ALTER TABLE INSURANCE ADD IS_USED_MOTOR BIT DEFAULT 0 NULL;
ALTER TABLE INSURANCE ADD MOTOR_VIN VARCHAR(50) DEFAULT '000-000';
ALTER TABLE INSURANCE ADD BENEFICIARY VARCHAR(50) DEFAULT NULL;

UPDATE INSURANCE INS
SET INS.BENEFICIARY = (SELECT
                         NAME
                       FROM CONTACT
                       WHERE ID = INS.CLIENT_ID)
WHERE INS.BENEFICIARY IS NULL;

UPDATE INSURANCE
SET COVER_TIME = 0
WHERE COVER_TIME IS NULL;
{'fraction_non_alphanumeric': 0.04695304695304695, 'fraction_numerical': 0.026973026973026972, 'mean_word_length': 2.7669172932330826, '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': '3139299', 'n_tokens_mistral': 369, 'n_tokens_neox': 322, 'n_words': 105}