# 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 => 20150909230116) do create_table "applicants_affiliate_trackings", :force => true do |t| t.integer "applicant_id" t.string "affiliate_id" t.string "affiliate_sub_id" t.string "transaction_id" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end add_index "applicants_affiliate_trackings", ["affiliate_id"], :name => "index_affiliate_trackings_on_affiliate_id" create_table "applicants_applicant_panel_parameter_sets", :force => true do |t| t.integer "applicant_id" t.integer "panel_id" t.text "parameters" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end add_index "applicants_applicant_panel_parameter_sets", ["applicant_id"], :name => "index_applicant_panel_parameter_sets_on_applicant_id" create_table "applicants_applicants", :force => true do |t| t.datetime "created_at", :null => false t.datetime "updated_at", :null => false t.string "email", :default => "" t.string "state" t.string "notes", :default => "" t.text "answers" t.integer "panel_id" t.datetime "reviewable_at" t.datetime "problem_at" t.datetime "approved_at" t.datetime "rejected_at" end add_index "applicants_applicants", ["email"], :name => "index_applicants_on_email", :unique => true add_index "applicants_applicants", ["state"], :name => "index_applicants_on_state" create_table "applicants_panels", :force => true do |t| t.string "remote_panel_id" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end create_table "applicants_videos", :force => true do |t| t.string "filename" t.text "video_url" t.text "video_url_ssl" t.integer "applicant_id" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end add_index "applicants_videos", ["applicant_id"], :name => "index_videos_on_applicant_id" end