<commit_before><commit_msg>bug 617963, Better cascading of log_activity_user table.<commit_after>ALTER TABLE `log_activity_user`
      MODIFY COLUMN `user_id` INTEGER UNSIGNED NOT NULL;

ALTER TABLE `log_activity_user` DROP FOREIGN KEY `user_id_refs_id_e987c199`;

ALTER TABLE `remora`.`log_activity_user`
      ADD CONSTRAINT `user_id_refs_id_e987c199`
          FOREIGN KEY `user_id_refs_id_e987c199` (`user_id`)
          REFERENCES `users` (`id`)
          ON DELETE CASCADE;
{'fraction_non_alphanumeric': 0.07933194154488518, 'fraction_numerical': 0.05010438413361169, 'mean_word_length': 4.647058823529412, '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': '1045031', 'n_tokens_mistral': 200, 'n_tokens_neox': 172, 'n_words': 39}