<commit_before>CREATE TABLE IF NOT EXISTS `DISCUSSION_THREAD_VIEW` (
  `ID` bigint(20) NOT NULL,
  `THREAD_ID` bigint(20) NOT NULL,
  `USER_ID` bigint(20) NOT NULL,
  PRIMARY KEY (`THREAD_ID`, `USER_ID`),
  UNIQUE KEY `DISCUSSION_THREAD_VIEW_BACK_UP_ID`(`ID`),
  CONSTRAINT `DISCUSSION_THREAD_VIEW_THREAD_ID_FK` FOREIGN KEY (`THREAD_ID`) REFERENCES `DISCUSSION_THREAD` (`ID`) ON DELETE CASCADE,
  CONSTRAINT `DISCUSSION_THREAD_VIEW_USER_ID_FK` FOREIGN KEY (`USER_ID`) REFERENCES `JDOUSERGROUP` (`ID`)
)<commit_msg>remove the foreign key constraint on JDOUSERGROUP and add index<commit_after>CREATE TABLE IF NOT EXISTS `DISCUSSION_THREAD_VIEW` (
  `ID` bigint(20) NOT NULL,
  `THREAD_ID` bigint(20) NOT NULL,
  `USER_ID` bigint(20) NOT NULL,
  PRIMARY KEY (`THREAD_ID`, `USER_ID`),
  UNIQUE KEY `DISCUSSION_THREAD_VIEW_BACK_UP_ID`(`ID`),
  INDEX `DISCUSSION_THREAD_VIEW_USER_ID_INDEX` (`USER_ID`),
  CONSTRAINT `DISCUSSION_THREAD_VIEW_THREAD_ID_FK` FOREIGN KEY (`THREAD_ID`) REFERENCES `DISCUSSION_THREAD` (`ID`) ON DELETE CASCADE
)
{'fraction_non_alphanumeric': 0.11445198836081474, 'fraction_numerical': 0.011639185257032008, 'mean_word_length': 7.390243902439025, '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': '3110101', 'n_tokens_mistral': 426, 'n_tokens_neox': 376, 'n_words': 92}