<commit_before># encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20141018143609) do

  # These are extensions that must be enabled in order to support this database
  enable_extension "plpgsql"

  create_table "event_wines", force: true do |t|
    t.boolean  "is_attending"
    t.integer  "event_id"
    t.integer  "wine_id"
    t.integer  "user_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "events", force: true do |t|
    t.string   "name",       null: false
    t.string   "location",   null: false
    t.datetime "date",       null: false
    t.datetime "time",       null: false
    t.integer  "user_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "tastings", force: true do |t|
    t.integer  "red_fruits"
    t.integer  "white_fruits"
    t.integer  "minerality"
    t.integer  "oak"
    t.integer  "dry"
    t.integer  "acid"
    t.integer  "tannin"
    t.integer  "alcohol"
    t.integer  "climate"
    t.integer  "country"
    t.integer  "red_grape"
    t.integer  "white_grape"
    t.integer  "user_id"
    t.integer  "wine_id"
    t.datetime "created_at"
    t.datetime "updated_at"
    t.integer  "fruit_condition"
  end

  create_table "users", force: true do |t|
    t.string   "name",            null: false
    t.string   "email",           null: false
    t.string   "password_digest"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "wines", force: true do |t|
    t.string   "name",        null: false
    t.string   "color",       null: false
    t.text     "description", null: false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

end<commit_msg>Updated schema<commit_after># encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20141018143609) do

  # These are extensions that must be enabled in order to support this database
  enable_extension "plpgsql"

  create_table "event_wines", force: true do |t|
    t.boolean  "is_attending"
    t.integer  "event_id"
    t.integer  "wine_id"
    t.integer  "user_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "events", force: true do |t|
    t.string   "name",       null: false
    t.string   "location",   null: false
    t.datetime "date",       null: false
    t.datetime "time",       null: false
    t.integer  "user_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "questions", force: true do |t|
    t.string   "question"
    t.string   "answer_data_type"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "tastings", force: true do |t|
    t.integer  "red_fruits"
    t.integer  "white_fruits"
    t.integer  "minerality"
    t.integer  "oak"
    t.integer  "dry"
    t.integer  "acid"
    t.integer  "tannin"
    t.integer  "alcohol"
    t.integer  "climate"
    t.integer  "country"
    t.integer  "red_grape"
    t.integer  "white_grape"
    t.integer  "user_id"
    t.integer  "wine_id"
    t.datetime "created_at"
    t.datetime "updated_at"
    t.integer  "fruit_condition"
  end

  create_table "user_answers", force: true do |t|
    t.string   "answer"
    t.boolean  "correctness"
    t.integer  "wine_question_id"
    t.integer  "event_wine_id"
    t.integer  "user_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "users", force: true do |t|
    t.string   "name"
    t.string   "email",           null: false
    t.string   "password_digest"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "wine_questions", force: true do |t|
    t.string   "correct_answer"
    t.integer  "question_id"
    t.integer  "wine_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "wines", force: true do |t|
    t.string   "name",        null: false
    t.string   "color",       null: false
    t.text     "description", null: false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

end
{'fraction_non_alphanumeric': 0.09064112011790715, 'fraction_numerical': 0.00552689756816507, 'mean_word_length': 2.9772893772893774, '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': '1114381', 'n_tokens_mistral': 1810, 'n_tokens_neox': 1745, 'n_words': 575}