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

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

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

  create_table "points", force: :cascade do |t|
    t.string   "kind"
    t.integer  "rank"
    t.integer  "trip_id"
    t.decimal  "lat",              precision: 9, scale: 6
    t.decimal  "decimal",          precision: 9, scale: 6
    t.decimal  "lon",              precision: 9, scale: 6
    t.string   "address1"
    t.string   "address2"
    t.string   "city"
    t.string   "zipcode"
    t.string   "country_iso_code"
    t.integer  "price"
    t.datetime "created_at",                               null: false
    t.datetime "updated_at",                               null: false
    t.index ["trip_id"], name: "index_points_on_trip_id", using: :btree
  end

  create_table "trips", force: :cascade do |t|
    t.datetime "leave_at",                           null: false
    t.integer  "seats"
    t.string   "comfort"
    t.text     "description"
    t.integer  "price"
    t.string   "title"
    t.boolean  "smoking",        default: false,     null: false
    t.string   "name"
    t.integer  "age"
    t.string   "email"
    t.string   "phone"
    t.string   "creation_token"
    t.string   "edition_token"
    t.string   "deletion_token"
    t.string   "state",          default: "pending"
    t.string   "creation_ip"
    t.string   "deletion_ip"
    t.string   "kind"
    t.datetime "created_at",                         null: false
    t.datetime "updated_at",                         null: false
  end

  add_foreign_key "points", "trips"
end
<commit_msg>remove postgis since we use elasticsearch<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 that you check this file into your version control system.

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

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

  create_table "points", force: :cascade do |t|
    t.string   "kind"
    t.integer  "rank"
    t.integer  "trip_id"
    t.decimal  "lat",              precision: 9, scale: 6
    t.decimal  "decimal",          precision: 9, scale: 6
    t.decimal  "lon",              precision: 9, scale: 6
    t.string   "address1"
    t.string   "address2"
    t.string   "city"
    t.string   "zipcode"
    t.string   "country_iso_code"
    t.integer  "price"
    t.datetime "created_at",                               null: false
    t.datetime "updated_at",                               null: false
    t.index ["trip_id"], name: "index_points_on_trip_id", using: :btree
  end

  create_table "trips", force: :cascade do |t|
    t.datetime "leave_at",                           null: false
    t.integer  "seats"
    t.string   "comfort"
    t.text     "description"
    t.integer  "price"
    t.string   "title"
    t.boolean  "smoking",        default: false,     null: false
    t.string   "name"
    t.integer  "age"
    t.string   "email"
    t.string   "phone"
    t.string   "creation_token"
    t.string   "edition_token"
    t.string   "deletion_token"
    t.string   "state",          default: "pending"
    t.string   "creation_ip"
    t.string   "deletion_ip"
    t.string   "kind"
    t.datetime "created_at",                         null: false
    t.datetime "updated_at",                         null: false
  end

  add_foreign_key "points", "trips"
end

{'fraction_non_alphanumeric': 0.0860170371909412, 'fraction_numerical': 0.00914190733430293, 'mean_word_length': 2.419034090909091, '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': '1941413', 'n_tokens_mistral': 1481, 'n_tokens_neox': 1414, 'n_words': 499}