<commit_before>
CREATE TABLE IDMU_TEMPLATE (
  COLLECTION 	VARCHAR(100) NOT NULL,
  TEMPLATE_NAME VARCHAR(100) NOT NULL DEFAULT '',
  COLUMN_VALUE 	VARCHAR(100) NOT NULL DEFAULT '',
  OUTPUT_FILE 	VARCHAR(250) NULL DEFAULT '',
  DESCRIPTION 	VARCHAR(250) NULL DEFAULT '',
  CONTENT 		VARCHAR(4000) NULL DEFAULT '',
  PRIMARY KEY (COLLECTION, TEMPLATE_NAME, COLUMN_VALUE)
 );
  
CREATE TABLE IDMU_DIRECTIVE (
  COLLECTION 	VARCHAR(100) NOT NULL,
  TEMPLATE_NAME VARCHAR(100) NOT NULL DEFAULT '',
  COLUMN_VALUE 	VARCHAR(100) NOT NULL DEFAULT '',
  SEQUENCE		INT NOT NULL DEFAULT 0,
  DIR_TYPE 		INT,
  DESCRIPTION 	VARCHAR(250) NULL DEFAULT '',
  SOFT_FAIL 	CHAR(1) NOT NULL DEFAULT 'N',
  DIR_1 		VARCHAR(1024) NULL DEFAULT NULL,
  DIR_2 		VARCHAR(1024) NULL DEFAULT NULL,
  DIR_3 		VARCHAR(1024) NULL DEFAULT NULL,
  DIR_4 		VARCHAR(1024) NULL DEFAULT NULL,
  PRO_1 		VARCHAR(1024) NULL DEFAULT NULL,
  PRO_2 		VARCHAR(1024) NULL DEFAULT NULL,
  PRO_3 		VARCHAR(1024) NULL DEFAULT NULL,
  PRO_4 		VARCHAR(4000) NULL DEFAULT NULL,
  PRIMARY KEY (COLLECTION, TEMPLATE_NAME, COLUMN_VALUE, SEQUENCE),
  CONSTRAINT fk_DIRECTIVE_TEMPLATE
    FOREIGN KEY (COLLECTION , TEMPLATE_NAME , COLUMN_VALUE)
    REFERENCES IDMU_TEMPLATE (COLLECTION , TEMPLATE_NAME , COLUMN_VALUE)
    ON DELETE CASCADE<commit_msg>DB2 supports huge text fields<commit_after>
CREATE TABLE IDMU_TEMPLATE (
  COLLECTION 	VARCHAR(100) NOT NULL,
  TEMPLATE_NAME VARCHAR(100) NOT NULL DEFAULT '',
  COLUMN_VALUE 	VARCHAR(100) NOT NULL DEFAULT '',
  OUTPUT_FILE 	VARCHAR(250) NULL DEFAULT '',
  DESCRIPTION 	VARCHAR(250) NULL DEFAULT '',
  CONTENT 		VARCHAR(24000) NULL DEFAULT '',
  PRIMARY KEY (COLLECTION, TEMPLATE_NAME, COLUMN_VALUE)
 );
  
CREATE TABLE IDMU_DIRECTIVE (
  COLLECTION 	VARCHAR(100) NOT NULL,
  TEMPLATE_NAME VARCHAR(100) NOT NULL DEFAULT '',
  COLUMN_VALUE 	VARCHAR(100) NOT NULL DEFAULT '',
  SEQUENCE		INT NOT NULL DEFAULT 0,
  DIR_TYPE 		INT,
  DESCRIPTION 	VARCHAR(250) NULL DEFAULT '',
  SOFT_FAIL 	CHAR(1) NOT NULL DEFAULT 'N',
  DIR_1 		VARCHAR(1024) NULL DEFAULT NULL,
  DIR_2 		VARCHAR(1024) NULL DEFAULT NULL,
  DIR_3 		VARCHAR(1024) NULL DEFAULT NULL,
  DIR_4 		VARCHAR(1024) NULL DEFAULT NULL,
  PRO_1 		VARCHAR(1024) NULL DEFAULT NULL,
  PRO_2 		VARCHAR(1024) NULL DEFAULT NULL,
  PRO_3 		VARCHAR(1024) NULL DEFAULT NULL,
  PRO_4 		VARCHAR(24000) NULL DEFAULT NULL,
  PRIMARY KEY (COLLECTION, TEMPLATE_NAME, COLUMN_VALUE, SEQUENCE),
  CONSTRAINT fk_DIRECTIVE_TEMPLATE
    FOREIGN KEY (COLLECTION , TEMPLATE_NAME , COLUMN_VALUE)
    REFERENCES IDMU_TEMPLATE (COLLECTION , TEMPLATE_NAME , COLUMN_VALUE)
    ON DELETE CASCADE
{'fraction_non_alphanumeric': 0.0779816513761468, 'fraction_numerical': 0.05695718654434251, 'mean_word_length': 4.4407484407484406, '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': '2653334', 'n_tokens_mistral': 1112, 'n_tokens_neox': 951, 'n_words': 265}