<commit_before># 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 => 20090627185801) do

  create_table "domains", :force => true do |t|
    t.integer  "organisation_id", :default => 0,  :null => false
    t.string   "name",            :default => "", :null => false
    t.integer  "web_host_id",     :default => 0,  :null => false
    t.integer  "forwarding_id"
    t.date     "registered_on",                   :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "organisations", :force => true do |t|
    t.string   "name",           :default => "", :null => false
    t.datetime "last_contacted",                 :null => false
    t.integer  "contact_cycle",  :default => 90, :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "users", :force => true do |t|
    t.string   "email",                 :default => "",    :null => false
    t.string   "name",                  :default => "",    :null => false
    t.string   "encrypted_password"
    t.string   "salt"
    t.boolean  "admin",                 :default => false, :null => false
    t.string   "forgot_password_token", :default => "",    :null => false
    t.integer  "organisation_id",       :default => 0,     :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

end<commit_msg>Updated schema<commit_after># 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 => 20100512172014) do

  create_table "addresses", :force => true do |t|
    t.integer  "organisation_id", :default => 0,  :null => false
    t.string   "address_line_1",  :default => "", :null => false
    t.string   "address_line_2",  :default => "", :null => false
    t.string   "town_city",       :default => "", :null => false
    t.string   "county",          :default => "", :null => false
    t.string   "postcode",        :default => "", :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "addresses", ["organisation_id"], :name => "index_addresses_on_organisation_id"

  create_table "domains", :force => true do |t|
    t.integer  "organisation_id", :default => 0,    :null => false
    t.string   "name",            :default => "",   :null => false
    t.integer  "forwarding_id"
    t.date     "registered_on",                     :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
    t.boolean  "with_us",         :default => true, :null => false
  end

  add_index "domains", ["organisation_id"], :name => "index_domains_on_organisation_id"

  create_table "hosting_accounts", :force => true do |t|
    t.integer  "domain_id",                                  :default => 0,   :null => false
    t.string   "ftp_host",                                   :default => "",  :null => false
    t.string   "username",                                   :default => "",  :null => false
    t.string   "password",                                   :default => "",  :null => false
    t.date     "started_on",                                                  :null => false
    t.string   "host_name",                                  :default => "",  :null => false
    t.date     "backed_up_on",                                                :null => false
    t.integer  "backup_cycle",                               :default => 14,  :null => false
    t.decimal  "annual_fee",   :precision => 6, :scale => 2, :default => 0.0, :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "hosting_accounts", ["domain_id"], :name => "index_hosting_accounts_on_domain_id"

  create_table "note_pads", :force => true do |t|
    t.integer  "organisation_id", :default => 0,  :null => false
    t.string   "title",           :default => "", :null => false
    t.text     "content",                         :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "organisations", :force => true do |t|
    t.string   "name",           :default => "", :null => false
    t.datetime "last_contacted",                 :null => false
    t.integer  "contact_cycle",  :default => 90, :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "timesheet_entries", :force => true do |t|
    t.integer  "organisation_id",                                :default => 0,     :null => false
    t.integer  "user_id",                                        :default => 0,     :null => false
    t.text     "description",                                                       :null => false
    t.decimal  "invoice_value",   :precision => 10, :scale => 2, :default => 0.0,   :null => false
    t.boolean  "chargeable",                                     :default => false, :null => false
    t.integer  "minutes",                                        :default => 0,     :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
    t.datetime "started_at",                                                        :null => false
  end

  add_index "timesheet_entries", ["organisation_id"], :name => "index_timesheet_entries_on_organisation_id"
  add_index "timesheet_entries", ["started_at"], :name => "index_timesheet_entries_on_started_at"
  add_index "timesheet_entries", ["user_id"], :name => "index_timesheet_entries_on_user_id"

  create_table "users", :force => true do |t|
    t.string   "email",                 :default => "",    :null => false
    t.string   "name",                  :default => "",    :null => false
    t.string   "encrypted_password"
    t.string   "salt"
    t.boolean  "admin",                 :default => false, :null => false
    t.string   "forgot_password_token", :default => "",    :null => false
    t.integer  "organisation_id",       :default => 0,     :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
    t.boolean  "staff",                 :default => false, :null => false
  end

  add_index "users", ["staff"], :name => "index_users_on_staff"

end
{'fraction_non_alphanumeric': 0.12179660102508767, 'fraction_numerical': 0.007553277582951173, 'mean_word_length': 2.2394058540847532, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 117, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3041094', 'n_tokens_mistral': 2172, 'n_tokens_neox': 2076, 'n_words': 649}