<commit_before>/* Add meta info */
CREATE TABLE IF NOT EXISTS meta (
       key TEXT UNIQUE,
       value TEXT NOT NULL
);

-------------------------------------------------------------------------------------
-- JMDict
-------------------------------------------------------------------------------------

CREATE TABLE Entry (
       idseq INTEGER NOT NULL UNIQUE
);

-- Entry's links (EntryInfo)
CREATE TABLE Link (
       ID INTEGER PRIMARY KEY
       ,idseq INTEGER
       ,tag TEXT
       ,desc TEXT
       ,uri TEXT
       ,FOREIGN KEY (idseq) REFERENCES Entry(idseq)
);

-- Entry's bibinfo (EntryInfo)
CREATE TABLE Bib (
       ID INTEGER PRIMARY KEY
       ,idseq INTEGER
       ,tag TEXT
       ,text TEXT
       ,FOREIGN KEY (idseq) REFERENCES Entry(idseq)
);<commit_msg>meta key should not be null<commit_after>/* Add meta info */
CREATE TABLE IF NOT EXISTS meta (
       key TEXT PRIMARY KEY NOT NULL,
       value TEXT NOT NULL
);

-------------------------------------------------------------------------------------
-- JMDict
-------------------------------------------------------------------------------------

CREATE TABLE Entry (
       idseq INTEGER NOT NULL UNIQUE
);

-- Entry's links (EntryInfo)
CREATE TABLE Link (
       ID INTEGER PRIMARY KEY
       ,idseq INTEGER
       ,tag TEXT
       ,desc TEXT
       ,uri TEXT
       ,FOREIGN KEY (idseq) REFERENCES Entry(idseq)
);

-- Entry's bibinfo (EntryInfo)
CREATE TABLE Bib (
       ID INTEGER PRIMARY KEY
       ,idseq INTEGER
       ,tag TEXT
       ,text TEXT
       ,FOREIGN KEY (idseq) REFERENCES Entry(idseq)
);
{'fraction_non_alphanumeric': 0.27547169811320754, 'fraction_numerical': 0.0, 'mean_word_length': 1.164625850340136, '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': '4712980', 'n_tokens_mistral': 423, 'n_tokens_neox': 387, 'n_words': 148}