<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 to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20120112032840) do

  create_table "character_skills", :force => true do |t|
    t.integer  "character_version_id"
    t.integer  "skill_id"
    t.integer  "rank"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "character_versions", :force => true do |t|
    t.integer  "previous_version_id"
    t.string   "description",         :default => "Current Version"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "characters", :force => true do |t|
    t.string   "name",                 :null => false
    t.integer  "member_id",            :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
    t.integer  "character_version_id"
  end

  create_table "currencies", :force => true do |t|
    t.string   "name"
    t.string   "short_name"
    t.integer  "yearly_cap"
    t.integer  "game_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "events", :force => true do |t|
    t.integer  "game_id"
    t.datetime "start_date"
    t.datetime "end_date"
    t.text     "site"
    t.text     "notes"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "games", :force => true do |t|
    t.string   "name",                         :null => false
    t.string   "slug",                         :null => false
    t.boolean  "public",     :default => true
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "members", :force => true do |t|
    t.integer  "user_id",                       :null => false
    t.integer  "game_id",                       :null => false
    t.boolean  "game_admin", :default => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "members", ["user_id", "game_id"], :name => "index_members_on_user_id_and_game_id", :unique => true

  create_table "registrations", :force => true do |t|
    t.integer  "event_id"
    t.integer  "member_id"
    t.integer  "character_id"
    t.boolean  "is_paid",       :default => false
    t.boolean  "is_present",    :default => false
    t.boolean  "is_prereged",   :default => false
    t.boolean  "setup_cleanup", :default => false
    t.integer  "cp_game_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "skills", :force => true do |t|
    t.integer  "game_id"
    t.string   "name"
    t.string   "summary"
    t.text     "description"
    t.integer  "min_rank",    :default => 0
    t.integer  "max_rank",    :default => 1
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "users", :force => true do |t|
    t.string   "name"
    t.string   "email"
    t.boolean  "global_admin", :default => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "users", ["email"], :name => "index_users_on_email", :unique => true

end
<commit_msg>Schema change?<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 to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20120112032840) do

  create_table "character_skills", :force => true do |t|
    t.integer  "character_version_id"
    t.integer  "skill_id"
    t.integer  "rank"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "character_versions", :force => true do |t|
    t.integer  "previous_version_id"
    t.string   "description",         :default => "Current Version"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "characters", :force => true do |t|
    t.string   "name",                 :null => false
    t.integer  "member_id",            :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
    t.integer  "character_version_id"
  end

  create_table "currencies", :force => true do |t|
    t.string   "name"
    t.string   "short_name"
    t.integer  "yearly_cap"
    t.integer  "game_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "events", :force => true do |t|
    t.integer  "game_id"
    t.datetime "start_date"
    t.datetime "end_date"
    t.text     "site"
    t.text     "notes"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "games", :force => true do |t|
    t.string   "name",                         :null => false
    t.string   "slug",                         :null => false
    t.boolean  "public",     :default => true
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "games", ["slug"], :name => "index_games_on_slug", :unique => true

  create_table "members", :force => true do |t|
    t.integer  "user_id",                       :null => false
    t.integer  "game_id",                       :null => false
    t.boolean  "game_admin", :default => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "members", ["user_id", "game_id"], :name => "index_members_on_user_id_and_game_id", :unique => true

  create_table "registrations", :force => true do |t|
    t.integer  "event_id"
    t.integer  "member_id"
    t.integer  "character_id"
    t.boolean  "is_paid",       :default => false
    t.boolean  "is_present",    :default => false
    t.boolean  "is_prereged",   :default => false
    t.boolean  "setup_cleanup", :default => false
    t.integer  "cp_game_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "skills", :force => true do |t|
    t.integer  "game_id"
    t.string   "name"
    t.string   "summary"
    t.text     "description"
    t.integer  "min_rank",    :default => 0
    t.integer  "max_rank",    :default => 1
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "users", :force => true do |t|
    t.string   "name"
    t.string   "email"
    t.boolean  "global_admin", :default => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "users", ["email"], :name => "index_users_on_email", :unique => true

end

{'fraction_non_alphanumeric': 0.11274841151818304, 'fraction_numerical': 0.00459645802352305, 'mean_word_length': 2.801644398766701, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 67, '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': '6146018', 'n_tokens_mistral': 2429, 'n_tokens_neox': 2363, 'n_words': 710}