<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: 20170406224506) do

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

  create_table "apps", id: :serial, force: :cascade do |t|
    t.string "phone_number"
    t.boolean "accepts_text_messages"
    t.integer "user_id"
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.boolean "mailing_address_same_as_home_address"
    t.string "mailing_street"
    t.string "mailing_city"
    t.string "mailing_zip"
    t.string "home_address"
    t.string "home_city"
    t.string "home_zip"
    t.boolean "unstable_housing"
    t.string "signature"
    t.string "email"
    t.date "birthday"
    t.string "marital_status"
    t.integer "household_size"
    t.boolean "income_change"
    t.text "income_change_explanation"
    t.text "additional_income", default: [], array: true
    t.boolean "everyone_a_citizen"
    t.boolean "anyone_disabled"
    t.boolean "any_new_moms"
    t.boolean "any_medical_bill_help"
    t.boolean "anyone_in_college"
    t.boolean "anyone_living_elsewhere"
    t.boolean "any_medical_bill_help_last_3_months"
    t.boolean "any_lost_insurance_last_3_months"
    t.boolean "household_tax"
    t.integer "income_child_support"
    t.boolean "has_accounts"
    t.integer "total_money"
    t.integer "rent_expense"
    t.integer "property_tax_expense"
    t.integer "insurance_expense"
    t.boolean "utility_heat"
    t.boolean "utility_cooling"
    t.boolean "utility_electrity"
    t.boolean "utility_water_sewer"
    t.boolean "utility_trash"
    t.boolean "utility_phone"
    t.boolean "utility_other"
    t.boolean "welcome_sms_sent", default: false
    t.integer "income_unemployment"
    t.integer "income_ssi"
    t.integer "income_workers_comp"
    t.integer "income_pension"
    t.integer "income_social_security"
    t.integer "income_foster_care"
    t.integer "income_other"
    t.boolean "has_home"
    t.boolean "has_vehicle"
    t.text "financial_accounts", default: [], array: true
    t.boolean "dependent_care"
    t.boolean "medical"
    t.boolean "court_ordered"
    t.boolean "tax_deductible"
    t.integer "monthly_care_expenses"
    t.text "care_expenses", default: [], array: true
    t.integer "monthly_medical_expenses"
    t.text "medical_expenses", default: [], array: true
    t.integer "monthly_court_ordered_expenses"
    t.text "court_ordered_expenses", default: [], array: true
    t.integer "monthly_tax_deductible_expenses"
    t.text "tax_deductible_expenses", default: [], array: true
    t.string "preference_for_interview"
    t.boolean "sms_reminders"
    t.boolean "email_reminders"
    t.text "anything_else"
    t.index ["user_id"], name: "index_apps_on_user_id"<commit_msg>update 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 that you check this file into your version control system.

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

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

  create_table "apps", id: :serial, force: :cascade do |t|
    t.string "phone_number"
    t.boolean "accepts_text_messages"
    t.integer "user_id"
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.boolean "mailing_address_same_as_home_address"
    t.string "mailing_street"
    t.string "mailing_city"
    t.string "mailing_zip"
    t.string "home_address"
    t.string "home_city"
    t.string "home_zip"
    t.boolean "unstable_housing"
    t.string "signature"
    t.string "email"
    t.boolean "income_change"
    t.text "income_change_explanation"
    t.text "additional_income", default: [], array: true
    t.date "birthday"
    t.string "marital_status"
    t.integer "household_size"
    t.boolean "everyone_a_citizen"
    t.boolean "anyone_disabled"
    t.boolean "any_new_moms"
    t.boolean "any_medical_bill_help"
    t.boolean "anyone_in_college"
    t.boolean "anyone_living_elsewhere"
    t.boolean "any_medical_bill_help_last_3_months"
    t.boolean "any_lost_insurance_last_3_months"
    t.boolean "household_tax"
    t.integer "income_child_support"
    t.boolean "has_accounts"
    t.integer "total_money"
    t.integer "rent_expense"
    t.integer "property_tax_expense"
    t.integer "insurance_expense"
    t.boolean "utility_heat"
    t.boolean "utility_cooling"
    t.boolean "utility_electrity"
    t.boolean "utility_water_sewer"
    t.boolean "utility_trash"
    t.boolean "utility_phone"
    t.boolean "utility_other"
    t.boolean "welcome_sms_sent", default: false
    t.integer "income_unemployment"
    t.integer "income_ssi"
    t.integer "income_workers_comp"
    t.integer "income_pension"
    t.integer "income_social_security"
    t.integer "income_foster_care"
    t.integer "income_other"
    t.boolean "has_home"
    t.boolean "has_vehicle"
    t.boolean "sms_reminders"
    t.boolean "email_reminders"
    t.text "financial_accounts", default: [], array: true
    t.boolean "dependent_care"
    t.boolean "medical"
    t.boolean "court_ordered"
    t.boolean "tax_deductible"
    t.integer "monthly_care_expenses"
    t.text "care_expenses", default: [], array: true
    t.integer "monthly_medical_expenses"
    t.text "medical_expenses", default: [], array: true
    t.integer "monthly_court_ordered_expenses"
    t.text "court_ordered_expenses", default: [], array: true
    t.integer "monthly_tax_deductible_expenses"
    t.text "tax_deductible_expenses", default: [], array: true
    t.string "preference_for_interview"
    t.text "anything_else"
    t.index ["user_id"], name: "index_apps_on_user_id"
{'fraction_non_alphanumeric': 0.08958630527817403, 'fraction_numerical': 0.00456490727532097, 'mean_word_length': 4.065751445086705, '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': '1243616', 'n_tokens_mistral': 2372, 'n_tokens_neox': 2277, 'n_words': 604}