<commit_before>DROP SCHEMA IF EXISTS learnzilla;
CREATE SCHEMA IF NOT EXISTS learnzilla;
USE learnzilla;

CREATE TABLE IF NOT EXISTS Fragen
( fragenid int NOT NULL auto_increment,
frage varchar(200) NOT NULL,
fk_kategorie int NOT null,
schwierigkeit int NOT null,
primary key(fragenid)
);

CREATE TABLE IF NOT EXISTS Antworten
( antwortenid int NOT NULL auto_increment,
antwort varchar(200) NOT NULL,
fk_kategorie int NOT null,
primary key(antwortenid)
);

CREATE TABLE IF NOT EXISTS FragenAntwortenMapping
(
fk_frage int NOT null,
fk_antwort int NOT null,
primary key(fk_frage,fk_antwort)
);

CREATE TABLE IF NOT EXISTS Kategorie
( kategorieid int NOT NULL auto_increment,
beschreibung varchar(20),
primary key(kategorieid)
);

CREATE TABLE IF NOT EXISTS Zitate
( zitatid int NOT NULL auto_increment,
zitat varchar(400),
primary key (zitatid)
);
<commit_msg>Add files via upload<commit_after>DROP SCHEMA IF EXISTS learnzilla;
CREATE SCHEMA IF NOT EXISTS learnzilla;
USE learnzilla;

CREATE TABLE IF NOT EXISTS Fragen
( fragenid int NOT NULL auto_increment,
frage varchar(200) NOT NULL,
fk_kategorie int NOT null,
schwierigkeit int NOT null,
primary key(fragenid)
);

CREATE TABLE IF NOT EXISTS Antworten
( antwortenid int NOT NULL auto_increment,
antwort varchar(200) NOT NULL,
primary key(antwortenid)
);

CREATE TABLE IF NOT EXISTS FragenAntwortenMapping
(
fk_frage int NOT null,
fk_antwort int NOT null,
primary key(fk_frage,fk_antwort)
);

CREATE TABLE IF NOT EXISTS Kategorie
( kategorieid int NOT NULL auto_increment,
beschreibung varchar(20),
primary key(kategorieid)
);

CREATE TABLE IF NOT EXISTS Zitate
( zitatid int NOT NULL auto_increment,
zitat varchar(400),
primary key (zitatid)
);

{'fraction_non_alphanumeric': 0.061837455830388695, 'fraction_numerical': 0.012956419316843345, 'mean_word_length': 6.020661157024794, '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': '4400555', 'n_tokens_mistral': 627, 'n_tokens_neox': 592, 'n_words': 211}