<commit_before>DROP TABLE IF EXISTS "st_user" CASCADE;
CREATE TABLE "st_user" (
  "userid" SERIAL PRIMARY KEY,
  "username" varchar(100) NOT NULL,
  "password" varchar(100) NOT NULL,
  "email" varchar(100) NOT NULL,
  "salt" varchar(100) NOT NULL,
  "role" varchar(100) NOT NULL
);


DROP TABLE IF EXISTS "st_session" CASCADE;
CREATE TABLE "st_session" (
  "token" varchar(23) NOT NULL,
  "userid" int REFERENCES "st_user" ("userid"),
  "created" timestamp NOT NULL,
  PRIMARY KEY ("token"),
  UNIQUE ("userid")
);<commit_msg>allow multiple sessions for user<commit_after>DROP TABLE IF EXISTS "st_user" CASCADE;
CREATE TABLE "st_user" (
  "userid" SERIAL PRIMARY KEY,
  "username" varchar(100) NOT NULL,
  "password" varchar(100) NOT NULL,
  "email" varchar(100) NOT NULL,
  "salt" varchar(100) NOT NULL,
  "role" varchar(100) NOT NULL
);


DROP TABLE IF EXISTS "st_session" CASCADE;
CREATE TABLE "st_session" (
  "token" varchar(23) NOT NULL,
  "userid" int REFERENCES "st_user" ("userid"),
  "created" timestamp NOT NULL,
  PRIMARY KEY ("token")
);
{'fraction_non_alphanumeric': 0.13238095238095238, 'fraction_numerical': 0.03238095238095238, 'mean_word_length': 5.005714285714285, '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': '7086111', 'n_tokens_mistral': 428, 'n_tokens_neox': 377, 'n_words': 122}