<commit_before>CREATE DATABASE IF NOT EXISTS tippspiel_db;
USE tippspiel_db;

CREATE TABLE IF NOT EXISTS user (
  id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
  name VARCHAR(255) NOT NULL ,
  email VARCHAR(255) NOT NULL ,
  password TEXT NOT NULL,
  avatar VARCHAR(255),
  motto VARCHAR(255),
  registerdate DATETIME,
  lastlogin DATETIME,
  PRIMARY KEY (id),
  UNIQUE KEY (name)
);

INSERT INTO user (id, name, email, password) VALUES (1, 'admin', '<EMAIL>','<PASSWORD>');

CREATE TABLE IF NOT EXISTS tip (
  id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
  userid INTEGER UNSIGNED NOT NULL,
  matchid INTEGER UNSIGNED NOT NULL,
  team1goals INTEGER UNSIGNED,
  team2goals INTEGER UNSIGNED,
  PRIMARY KEY (id),
  UNIQUE KEY (userid, matchid)
);

CREATE TABLE IF NOT EXISTS team (
  id INTEGER UNSIGNED NOT NULL,
  longname VARCHAR(255) NOT NULL,
  shortname VARCHAR(255),
  emblem VARCHAR(255),
  PRIMARY KEY (id)
);

CREATE TABLE IF NOT EXISTS matchdata (
  id INTEGER UNSIGNED NOT NULL,
  league INTEGER UNSIGNED NOT NULL,
  saison INTEGER UNSIGNED NOT NULL,
  groupid INTEGER UNSIGNED NOT NULL,
  date_time DATETIME,
  team1id INTEGER UNSIGNED NOT NULL,
  team2id INTEGER UNSIGNED NOT NULL,
  team1goals INTEGER UNSIGNED,
  team2goals INTEGER UNSIGNED,
  isfinished BOOL DEFAULT FALSE,
  PRIMARY KEY (id)
);
<commit_msg>changes tablenames and some types<commit_after>CREATE DATABASE IF NOT EXISTS tippspiel_db;
USE tippspiel_db;

CREATE TABLE IF NOT EXISTS user (
  id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
  name VARCHAR(255) NOT NULL ,
  email VARCHAR(255) NOT NULL ,
  password TEXT NOT NULL,
  avatar VARCHAR(255),
  motto VARCHAR(255),
  registerdate DATETIME,
  lastlogin DATETIME,
  PRIMARY KEY (id),
  UNIQUE KEY (name)
);

INSERT INTO user (id, name, email, password) VALUES (1, 'admin', '<EMAIL>','<PASSWORD>');

CREATE TABLE IF NOT EXISTS tips (
  id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
  userid INTEGER UNSIGNED NOT NULL,
  matchid INTEGER UNSIGNED NOT NULL,
  team1goals INTEGER UNSIGNED,
  team2goals INTEGER UNSIGNED,
  PRIMARY KEY (id),
  UNIQUE KEY (userid, matchid)
);

CREATE TABLE IF NOT EXISTS teams (
  id INTEGER UNSIGNED NOT NULL,
  longname VARCHAR(255) NOT NULL,
  shortname VARCHAR(255),
  emblem VARCHAR(255),
  PRIMARY KEY (id)
);

CREATE TABLE IF NOT EXISTS matchs (
  id INTEGER UNSIGNED NOT NULL,
  league VARCHAR(255) NOT NULL,
  saison VARCHAR(255) NOT NULL,
  groupid INTEGER UNSIGNED NOT NULL,
  date_time DATETIME,
  team1id INTEGER UNSIGNED NOT NULL,
  team2id INTEGER UNSIGNED NOT NULL,
  team1goals INTEGER UNSIGNED,
  team2goals INTEGER UNSIGNED,
  isfinished BOOL DEFAULT FALSE,
  PRIMARY KEY (id)
);

{'fraction_non_alphanumeric': 0.07231638418079096, 'fraction_numerical': 0.023352165725047083, 'mean_word_length': 4.365656565656566, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1274663', 'n_tokens_mistral': 1057, 'n_tokens_neox': 895, 'n_words': 332}