Skip to content

Instantly share code, notes, and snippets.

@jcreed
Created October 25, 2018 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcreed/3b764b45aaa39d73068f89166302a6c2 to your computer and use it in GitHub Desktop.
Save jcreed/3b764b45aaa39d73068f89166302a6c2 to your computer and use it in GitHub Desktop.
Production schema diff from Rails 3.2 to Rails 4
diff --git a/rails3_schema.rb b/rails4_schema.rb
-ActiveRecord::Schema.define(:version => 20180924201540) do
+ActiveRecord::Schema.define(version: 20180924201540) do
- create_table "about_mes", :force => true do |t|
- t.integer "applicant_id", :null => false
+ # These are extensions that must be enabled in order to support this database
+ enable_extension "plpgsql"
+ enable_extension "pg_buffercache"
+ enable_extension "tablefunc"
+
+ create_table "about_mes", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "entry_status_id"
t.string "ccc_adt_campus"
t.string "adt_program"
@@ -31,12 +36,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.date "adt_anticipated_completed_degree_date"
end
- add_index "about_mes", ["applicant_id"], :name => "index_about_mes_on_applicant_id"
- add_index "about_mes", ["csu_recent_college_id"], :name => "index_about_mes_on_csu_recent_college_id"
- add_index "about_mes", ["entry_status_id"], :name => "index_about_mes_on_entry_status_id"
- add_index "about_mes", ["us_veteran_status_id"], :name => "index_about_mes_on_us_veteran_status_id"
+ add_index "about_mes", ["applicant_id"], name: "index_about_mes_on_applicant_id", using: :btree
+ add_index "about_mes", ["csu_recent_college_id"], name: "index_about_mes_on_csu_recent_college_id", using: :btree
+ add_index "about_mes", ["entry_status_id"], name: "index_about_mes_on_entry_status_id", using: :btree
+ add_index "about_mes", ["us_veteran_status_id"], name: "index_about_mes_on_us_veteran_status_id", using: :btree
- create_table "academic_enrichments", :force => true do |t|
+ create_table "academic_enrichments", force: true do |t|
t.string "identifier"
t.integer "applicant_id"
t.date "start_date"
@@ -48,9 +53,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "academic_enrichments", ["applicant_id"], :name => "index_academic_enrichments_on_applicant_id"
+ add_index "academic_enrichments", ["applicant_id"], name: "index_academic_enrichments_on_applicant_id", using: :btree
- create_table "academic_sessions", :force => true do |t|
+ create_table "academic_sessions", force: true do |t|
t.integer "year"
t.integer "college_id"
t.integer "term_id"
@@ -69,16 +74,16 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "applicant_id"
end
- add_index "academic_sessions", ["academic_year_id"], :name => "index_academic_sessions_on_academic_year_id"
- add_index "academic_sessions", ["applicant_id"], :name => "index_academic_sessions_on_applicant_id"
- add_index "academic_sessions", ["association_id", "identifier"], :name => "index_academic_sessions_on_association_id_and_identifier"
- add_index "academic_sessions", ["association_id"], :name => "index_academic_sessions_on_association_id"
- add_index "academic_sessions", ["college_id"], :name => "index_academic_sessions_on_college_id"
- add_index "academic_sessions", ["identifier"], :name => "index_academic_sessions_on_identifier"
- add_index "academic_sessions", ["term_id"], :name => "index_academic_sessions_on_term_id"
- add_index "academic_sessions", ["term_type_id"], :name => "index_academic_sessions_on_term_type_id"
+ add_index "academic_sessions", ["academic_year_id"], name: "index_academic_sessions_on_academic_year_id", using: :btree
+ add_index "academic_sessions", ["applicant_id"], name: "index_academic_sessions_on_applicant_id", using: :btree
+ add_index "academic_sessions", ["association_id", "identifier"], name: "index_academic_sessions_on_association_id_and_identifier", using: :btree
+ add_index "academic_sessions", ["association_id"], name: "index_academic_sessions_on_association_id", using: :btree
+ add_index "academic_sessions", ["college_id"], name: "index_academic_sessions_on_college_id", using: :btree
+ add_index "academic_sessions", ["identifier"], name: "index_academic_sessions_on_identifier", using: :btree
+ add_index "academic_sessions", ["term_id"], name: "index_academic_sessions_on_term_id", using: :btree
+ add_index "academic_sessions", ["term_type_id"], name: "index_academic_sessions_on_term_type_id", using: :btree
- create_table "academic_years", :force => true do |t|
+ create_table "academic_years", force: true do |t|
t.string "name"
t.integer "association_id"
t.datetime "created_at"
@@ -87,34 +92,34 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "order"
t.boolean "active"
t.string "tag"
- t.boolean "has_courses", :default => true
- t.boolean "has_gpas", :default => true
- t.boolean "advisor", :default => true
+ t.boolean "has_courses", default: true
+ t.boolean "has_gpas", default: true
+ t.boolean "advisor", default: true
end
- add_index "academic_years", ["association_id", "identifier"], :name => "index_academic_years_on_association_id_and_identifier"
- add_index "academic_years", ["association_id"], :name => "index_academic_years_on_association_id"
- add_index "academic_years", ["identifier"], :name => "index_academic_years_on_identifier"
+ add_index "academic_years", ["association_id", "identifier"], name: "index_academic_years_on_association_id_and_identifier", using: :btree
+ add_index "academic_years", ["association_id"], name: "index_academic_years_on_association_id", using: :btree
+ add_index "academic_years", ["identifier"], name: "index_academic_years_on_identifier", using: :btree
- create_table "academic_years_gpa_templates", :force => true do |t|
+ create_table "academic_years_gpa_templates", force: true do |t|
t.integer "academic_year_id"
t.integer "gpa_template_id"
end
- add_index "academic_years_gpa_templates", ["academic_year_id"], :name => "index_academic_years_gpa_templates_on_academic_year_id"
- add_index "academic_years_gpa_templates", ["gpa_template_id"], :name => "index_academic_years_gpa_templates_on_gpa_template_id"
+ add_index "academic_years_gpa_templates", ["academic_year_id"], name: "index_academic_years_gpa_templates_on_academic_year_id", using: :btree
+ add_index "academic_years_gpa_templates", ["gpa_template_id"], name: "index_academic_years_gpa_templates_on_gpa_template_id", using: :btree
- create_table "accepted_program_types", :force => true do |t|
+ create_table "accepted_program_types", force: true do |t|
t.integer "organization_id"
t.integer "program_type_id"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "accepted_program_types", ["organization_id"], :name => "index_accepted_program_types_on_organization_id"
- add_index "accepted_program_types", ["program_type_id"], :name => "index_accepted_program_types_on_program_type_id"
+ add_index "accepted_program_types", ["organization_id"], name: "index_accepted_program_types_on_organization_id", using: :btree
+ add_index "accepted_program_types", ["program_type_id"], name: "index_accepted_program_types_on_program_type_id", using: :btree
- create_table "additional_languages", :force => true do |t|
+ create_table "additional_languages", force: true do |t|
t.integer "association_id"
t.string "name"
t.string "identifier"
@@ -122,21 +127,21 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "additional_languages", ["association_id", "identifier"], :name => "index_additional_languages_on_association_id_and_identifier"
- add_index "additional_languages", ["association_id"], :name => "index_additional_languages_on_association_id"
- add_index "additional_languages", ["identifier"], :name => "index_additional_languages_on_identifier"
+ add_index "additional_languages", ["association_id", "identifier"], name: "index_additional_languages_on_association_id_and_identifier", using: :btree
+ add_index "additional_languages", ["association_id"], name: "index_additional_languages_on_association_id", using: :btree
+ add_index "additional_languages", ["identifier"], name: "index_additional_languages_on_identifier", using: :btree
- create_table "additional_mcat_intent_indicators", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "additional_mcat_intent_indicators", force: true do |t|
+ t.integer "applicant_id", null: false
t.date "intent_date"
t.boolean "indicator"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "additional_mcat_intent_indicators", ["applicant_id"], :name => "index_additional_mcat_intent_indicators_on_applicant_id"
+ add_index "additional_mcat_intent_indicators", ["applicant_id"], name: "index_additional_mcat_intent_indicators_on_applicant_id", using: :btree
- create_table "addmv_ag_activity_types_mv", :force => true do |t|
+ create_table "addmv_ag_activity_types_mv", force: true do |t|
t.integer "designation_id"
t.integer "program_id"
t.integer "applicant_id"
@@ -145,9 +150,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "type_of_activity"
end
- add_index "addmv_ag_activity_types_mv", ["designation_id", "activity_type_id"], :name => "idx_addmv_ag_activity_types_mv_on_did_and_atid", :unique => true
+ add_index "addmv_ag_activity_types_mv", ["designation_id", "activity_type_id"], name: "idx_addmv_ag_activity_types_mv_on_did_and_atid", unique: true, using: :btree
- create_table "advanced_dental_educations", :force => true do |t|
+ create_table "advanced_dental_educations", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.integer "program_type_id"
@@ -161,24 +166,24 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "advisor_request_associations", :force => true do |t|
- t.integer "advisor_request_id", :null => false
- t.integer "association_id", :null => false
+ create_table "advisor_request_associations", force: true do |t|
+ t.integer "advisor_request_id", null: false
+ t.integer "association_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
- t.string "status", :default => "pending", :null => false
+ t.string "status", default: "pending", null: false
end
- add_index "advisor_request_associations", ["advisor_request_id", "association_id"], :name => "index_uniq_advisor_request_associations", :unique => true
+ add_index "advisor_request_associations", ["advisor_request_id", "association_id"], name: "index_uniq_advisor_request_associations", unique: true, using: :btree
- create_table "advisor_requests", :force => true do |t|
+ create_table "advisor_requests", force: true do |t|
t.string "first_name"
t.string "last_name"
t.string "email"
t.string "naahp_number"
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "agree_to_terms", :default => false
+ t.boolean "agree_to_terms", default: false
t.string "email_confirmation"
t.integer "user_id"
t.integer "college_id"
@@ -191,9 +196,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "master_college_id"
end
- add_index "advisor_requests", ["email"], :name => "index_advisor_requests_on_email", :unique => true
+ add_index "advisor_requests", ["email"], name: "index_advisor_requests_on_email", unique: true, using: :btree
- create_table "alternate_campuses", :force => true do |t|
+ create_table "alternate_campuses", force: true do |t|
t.integer "applicant_id"
t.integer "organization_id"
t.string "campus_name"
@@ -202,21 +207,21 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "alternate_campuses", ["applicant_id", "organization_id"], :name => "index_alternate_campuses_on_applicant_id_and_organization_id", :unique => true
+ add_index "alternate_campuses", ["applicant_id", "organization_id"], name: "index_alternate_campuses_on_applicant_id_and_organization_id", unique: true, using: :btree
- create_table "alternate_names", :force => true do |t|
+ create_table "alternate_names", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
- t.string "alt_first_name", :null => false
+ t.string "alt_first_name", null: false
t.string "alt_middle_name"
- t.string "alt_last_name", :null => false
+ t.string "alt_last_name", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "alternate_names", ["applicant_id"], :name => "index_alternate_names_on_applicant_id"
+ add_index "alternate_names", ["applicant_id"], name: "index_alternate_names_on_applicant_id", using: :btree
- create_table "animal_experiences", :force => true do |t|
+ create_table "animal_experiences", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.integer "animal_experience_type_id"
@@ -229,7 +234,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.boolean "paid"
t.date "start_date"
t.date "end_date"
- t.boolean "experienced", :default => true
+ t.boolean "experienced", default: true
t.boolean "small"
t.boolean "food_animal"
t.boolean "equine"
@@ -244,12 +249,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "type"
end
- add_index "animal_experiences", ["animal_experience_type_id"], :name => "index_animal_experiences_on_animal_experience_type_id"
- add_index "animal_experiences", ["applicant_id"], :name => "index_animal_experiences_on_applicant_id"
- add_index "animal_experiences", ["identifier"], :name => "index_animal_experiences_on_identifier"
- add_index "animal_experiences", ["type"], :name => "index_animal_experiences_on_type"
+ add_index "animal_experiences", ["animal_experience_type_id"], name: "index_animal_experiences_on_animal_experience_type_id", using: :btree
+ add_index "animal_experiences", ["applicant_id"], name: "index_animal_experiences_on_applicant_id", using: :btree
+ add_index "animal_experiences", ["identifier"], name: "index_animal_experiences_on_identifier", using: :btree
+ add_index "animal_experiences", ["type"], name: "index_animal_experiences_on_type", using: :btree
- create_table "answer_bases", :force => true do |t|
+ create_table "answer_bases", force: true do |t|
t.integer "applicant_id"
t.integer "question_base_id"
t.text "string_value"
@@ -259,33 +264,33 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "answered_by_id"
t.datetime "created_at"
t.datetime "updated_at"
- t.decimal "decimal_value", :precision => 59, :scale => 29
+ t.decimal "decimal_value", precision: 59, scale: 29
t.string "type"
t.integer "supplemental_lookup_id"
t.datetime "answer_date"
t.boolean "via_api"
t.string "identifier"
- t.decimal "integer_value", :precision => 30, :scale => 0
+ t.decimal "integer_value", precision: 30, scale: 0
end
- add_index "answer_bases", ["answered_by_id"], :name => "index_custom_field_answers_on_answered_by_id"
- add_index "answer_bases", ["applicant_id"], :name => "index_custom_field_answers_on_applicant_id"
- add_index "answer_bases", ["question_base_id", "applicant_id"], :name => "index_answer_bases_on_question_base_id_and_applicant_id", :unique => true
- add_index "answer_bases", ["question_base_id"], :name => "index_custom_field_answers_on_custom_field_id"
- add_index "answer_bases", ["supplemental_lookup_id"], :name => "index_answer_bases_on_supplemental_lookup_id"
- add_index "answer_bases", ["type"], :name => "index_answer_bases_on_type"
+ add_index "answer_bases", ["answered_by_id"], name: "index_custom_field_answers_on_answered_by_id", using: :btree
+ add_index "answer_bases", ["applicant_id"], name: "index_custom_field_answers_on_applicant_id", using: :btree
+ add_index "answer_bases", ["question_base_id", "applicant_id"], name: "index_answer_bases_on_question_base_id_and_applicant_id", unique: true, where: "((type)::text = 'CustomFieldAnswer'::text)", using: :btree
+ add_index "answer_bases", ["question_base_id"], name: "index_custom_field_answers_on_custom_field_id", using: :btree
+ add_index "answer_bases", ["supplemental_lookup_id"], name: "index_answer_bases_on_supplemental_lookup_id", using: :btree
+ add_index "answer_bases", ["type"], name: "index_answer_bases_on_type", using: :btree
- create_table "api_keys", :force => true do |t|
- t.string "access_token", :null => false
+ create_table "api_keys", force: true do |t|
+ t.string "access_token", null: false
t.integer "user_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "applicant_attachments", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "visible_to_id", :null => false
- t.string "visible_to_type", :limit => 25, :null => false
+ create_table "applicant_attachments", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "visible_to_id", null: false
+ t.string "visible_to_type", limit: 25, null: false
t.string "identifier"
t.string "description"
t.datetime "created_at"
@@ -297,11 +302,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "user_identity_id"
end
- add_index "applicant_attachments", ["applicant_id"], :name => "index_applicant_attachments_on_applicant_id"
- add_index "applicant_attachments", ["identifier"], :name => "index_applicant_attachments_on_identifier"
- add_index "applicant_attachments", ["visible_to_type", "visible_to_id"], :name => "index_applicant_attachments_6128a11646"
+ add_index "applicant_attachments", ["applicant_id"], name: "index_applicant_attachments_on_applicant_id", using: :btree
+ add_index "applicant_attachments", ["identifier"], name: "index_applicant_attachments_on_identifier", using: :btree
+ add_index "applicant_attachments", ["visible_to_type", "visible_to_id"], name: "index_applicant_attachments_6128a11646", using: :btree
- create_table "applicant_college_details_warehouse", :force => true do |t|
+ create_table "applicant_college_details_warehouse", force: true do |t|
t.string "type"
t.integer "applicant_id"
t.string "mdb_code"
@@ -341,8 +346,8 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "second_degree_secondary_major_description"
t.integer "second_degree_status"
t.boolean "second_degree_verified"
- t.decimal "gpa", :precision => 3, :scale => 2
- t.decimal "credit_hours", :precision => 4, :scale => 1
+ t.decimal "gpa", precision: 3, scale: 2
+ t.decimal "credit_hours", precision: 4, scale: 1
t.integer "level"
t.boolean "instructed_in_english"
t.boolean "graduate_college_primary_attended"
@@ -350,8 +355,8 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "second_degree_primary_minor_description"
t.integer "second_degree_secondary_minor"
t.string "second_degree_secondary_minor_description"
- t.decimal "best_result_gpa", :precision => 6, :scale => 2
- t.decimal "comprehensive_gpa", :precision => 6, :scale => 2
+ t.decimal "best_result_gpa", precision: 6, scale: 2
+ t.decimal "comprehensive_gpa", precision: 6, scale: 2
t.integer "highest_degree_id"
t.string "highest_degree_other"
t.integer "pharmacy_degree_id"
@@ -369,64 +374,64 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "college_id"
end
- add_index "applicant_college_details_warehouse", ["applicant_id"], :name => "index_acd_warehouse_on_applicant_id"
- add_index "applicant_college_details_warehouse", ["college_id"], :name => "index_applicant_college_details_warehouse_on_college_id"
- add_index "applicant_college_details_warehouse", ["county_id"], :name => "index_applicant_college_details_warehouse_on_county_id"
- add_index "applicant_college_details_warehouse", ["first_degree_primary_major"], :name => "index_acd_warehouse_on_major_id_1"
- add_index "applicant_college_details_warehouse", ["first_degree_primary_minor"], :name => "index_acd_warehouse_on_minor_id_1"
- add_index "applicant_college_details_warehouse", ["first_degree_secondary_major"], :name => "index_acd_warehouse_on_major_id_2"
- add_index "applicant_college_details_warehouse", ["first_degree_secondary_minor"], :name => "index_acd_warehouse_on_minor_id_2"
- add_index "applicant_college_details_warehouse", ["first_degree_status"], :name => "index_acd_warehouse_on_degree_status_id_1"
- add_index "applicant_college_details_warehouse", ["mdb_code"], :name => "index_acd_warehouse_on_mdb_code"
- add_index "applicant_college_details_warehouse", ["name"], :name => "index_acd_warehouse_on_name"
- add_index "applicant_college_details_warehouse", ["school_type_id"], :name => "index_acd_warehouse_on_school_type_id"
- add_index "applicant_college_details_warehouse", ["second_degree_primary_major"], :name => "index_acd_warehouse_on_major_id_3"
- add_index "applicant_college_details_warehouse", ["second_degree_secondary_major"], :name => "index_acd_warehouse_on_major_id_4"
- add_index "applicant_college_details_warehouse", ["second_degree_status"], :name => "index_acd_warehouse_on_degree_status_id_2"
- add_index "applicant_college_details_warehouse", ["type"], :name => "index_acd_warehouse_on_type"
-
- create_table "applicant_competencies", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "competency_id", :null => false
- t.boolean "fulfilled", :default => false
+ add_index "applicant_college_details_warehouse", ["applicant_id"], name: "index_acd_warehouse_on_applicant_id", using: :btree
+ add_index "applicant_college_details_warehouse", ["college_id"], name: "index_applicant_college_details_warehouse_on_college_id", using: :btree
+ add_index "applicant_college_details_warehouse", ["county_id"], name: "index_applicant_college_details_warehouse_on_county_id", using: :btree
+ add_index "applicant_college_details_warehouse", ["first_degree_primary_major"], name: "index_acd_warehouse_on_major_id_1", using: :btree
+ add_index "applicant_college_details_warehouse", ["first_degree_primary_minor"], name: "index_acd_warehouse_on_minor_id_1", using: :btree
+ add_index "applicant_college_details_warehouse", ["first_degree_secondary_major"], name: "index_acd_warehouse_on_major_id_2", using: :btree
+ add_index "applicant_college_details_warehouse", ["first_degree_secondary_minor"], name: "index_acd_warehouse_on_minor_id_2", using: :btree
+ add_index "applicant_college_details_warehouse", ["first_degree_status"], name: "index_acd_warehouse_on_degree_status_id_1", using: :btree
+ add_index "applicant_college_details_warehouse", ["mdb_code"], name: "index_acd_warehouse_on_mdb_code", using: :btree
+ add_index "applicant_college_details_warehouse", ["name"], name: "index_acd_warehouse_on_name", using: :btree
+ add_index "applicant_college_details_warehouse", ["school_type_id"], name: "index_acd_warehouse_on_school_type_id", using: :btree
+ add_index "applicant_college_details_warehouse", ["second_degree_primary_major"], name: "index_acd_warehouse_on_major_id_3", using: :btree
+ add_index "applicant_college_details_warehouse", ["second_degree_secondary_major"], name: "index_acd_warehouse_on_major_id_4", using: :btree
+ add_index "applicant_college_details_warehouse", ["second_degree_status"], name: "index_acd_warehouse_on_degree_status_id_2", using: :btree
+ add_index "applicant_college_details_warehouse", ["type"], name: "index_acd_warehouse_on_type", using: :btree
+
+ create_table "applicant_competencies", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "competency_id", null: false
+ t.boolean "fulfilled", default: false
t.datetime "fulfilled_at"
- t.integer "reported_hours", :default => 0
- t.boolean "force_fulfilled", :default => false
+ t.integer "reported_hours", default: 0
+ t.boolean "force_fulfilled", default: false
t.integer "user_identity_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "applicant_competencies", ["applicant_id", "competency_id"], :name => "index_applicant_competencies_on_applicant_id_and_competency_id", :unique => true
- add_index "applicant_competencies", ["user_identity_id"], :name => "index_applicant_competencies_on_user_identity_id"
+ add_index "applicant_competencies", ["applicant_id", "competency_id"], name: "index_applicant_competencies_on_applicant_id_and_competency_id", unique: true, using: :btree
+ add_index "applicant_competencies", ["user_identity_id"], name: "index_applicant_competencies_on_user_identity_id", using: :btree
- create_table "applicant_competency_categories", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "competency_category_id", :null => false
- t.boolean "fulfilled", :default => false, :null => false
+ create_table "applicant_competency_categories", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "competency_category_id", null: false
+ t.boolean "fulfilled", default: false, null: false
t.datetime "fulfilled_at"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "applicant_competency_categories", ["applicant_id", "competency_category_id"], :name => "index_applicant_competency_categories_app_id_comp_cat_id", :unique => true
- add_index "applicant_competency_categories", ["competency_category_id"], :name => "index_applicant_competency_categories_on_competency_category_id"
+ add_index "applicant_competency_categories", ["applicant_id", "competency_category_id"], name: "index_applicant_competency_categories_app_id_comp_cat_id", unique: true, using: :btree
+ add_index "applicant_competency_categories", ["competency_category_id"], name: "index_applicant_competency_categories_on_competency_category_id", using: :btree
- create_table "applicant_competency_experiences", :force => true do |t|
- t.integer "applicant_competency_id", :null => false
- t.integer "experience_id", :null => false
+ create_table "applicant_competency_experiences", force: true do |t|
+ t.integer "applicant_competency_id", null: false
+ t.integer "experience_id", null: false
t.string "admin_status"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "applicant_competency_experiences", ["admin_status"], :name => "index_applicant_competency_experiences_on_admin_status"
- add_index "applicant_competency_experiences", ["applicant_competency_id", "experience_id"], :name => "index_applicant_competency_experiences_on_foreign_keys", :unique => true
+ add_index "applicant_competency_experiences", ["admin_status"], name: "index_applicant_competency_experiences_on_admin_status", using: :btree
+ add_index "applicant_competency_experiences", ["applicant_competency_id", "experience_id"], name: "index_applicant_competency_experiences_on_foreign_keys", unique: true, using: :btree
- create_table "applicant_criteria", :force => true do |t|
+ create_table "applicant_criteria", force: true do |t|
t.integer "applicant_id"
t.integer "criterion_id"
- t.boolean "done", :default => false
+ t.boolean "done", default: false
t.datetime "fulfilled_at"
t.integer "applicant_requirement_id"
t.string "fulfilled_by"
@@ -435,18 +440,18 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
t.datetime "created_at"
t.string "free_form_comment"
- t.boolean "fulfilled", :default => false
+ t.boolean "fulfilled", default: false
end
- add_index "applicant_criteria", ["applicant_id", "applicant_requirement_id", "criterion_id"], :name => "applicant_criteria_requirement_criterion_id", :unique => true
- add_index "applicant_criteria", ["applicant_id", "criterion_id"], :name => "index_applicant_criteria_on_applicant_id_and_criterion_id", :unique => true
- add_index "applicant_criteria", ["applicant_id"], :name => "index_applicant_criteria_on_applicant_id"
- add_index "applicant_criteria", ["applicant_requirement_id"], :name => "index_applicant_criteria_on_applicant_requirement_id"
- add_index "applicant_criteria", ["criteria_comment_id"], :name => "index_applicant_criteria_on_criteria_comment_id"
- add_index "applicant_criteria", ["criterion_id"], :name => "index_applicant_criteria_on_criterion_id"
- add_index "applicant_criteria", ["custom_choice_id"], :name => "index_applicant_criteria_on_custom_choice_id"
+ add_index "applicant_criteria", ["applicant_id", "applicant_requirement_id", "criterion_id"], name: "applicant_criteria_requirement_criterion_id", unique: true, using: :btree
+ add_index "applicant_criteria", ["applicant_id", "criterion_id"], name: "index_applicant_criteria_on_applicant_id_and_criterion_id", unique: true, using: :btree
+ add_index "applicant_criteria", ["applicant_id"], name: "index_applicant_criteria_on_applicant_id", using: :btree
+ add_index "applicant_criteria", ["applicant_requirement_id"], name: "index_applicant_criteria_on_applicant_requirement_id", using: :btree
+ add_index "applicant_criteria", ["criteria_comment_id"], name: "index_applicant_criteria_on_criteria_comment_id", using: :btree
+ add_index "applicant_criteria", ["criterion_id"], name: "index_applicant_criteria_on_criterion_id", using: :btree
+ add_index "applicant_criteria", ["custom_choice_id"], name: "index_applicant_criteria_on_custom_choice_id", using: :btree
- create_table "applicant_criteria_courses", :force => true do |t|
+ create_table "applicant_criteria_courses", force: true do |t|
t.integer "applicant_criterion_id"
t.integer "course_id"
t.datetime "created_at"
@@ -455,12 +460,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "admin_status"
end
- add_index "applicant_criteria_courses", ["admin_status"], :name => "index_applicant_criteria_courses_on_admin_status"
- add_index "applicant_criteria_courses", ["applicant_criterion_id"], :name => "index_app_criteria_on_criterion_id"
- add_index "applicant_criteria_courses", ["applicant_id"], :name => "index_applicant_criteria_courses_on_applicant_id"
- add_index "applicant_criteria_courses", ["course_id"], :name => "index_app_criteria_on_course_id"
+ add_index "applicant_criteria_courses", ["admin_status"], name: "index_applicant_criteria_courses_on_admin_status", using: :btree
+ add_index "applicant_criteria_courses", ["applicant_criterion_id"], name: "index_app_criteria_on_criterion_id", using: :btree
+ add_index "applicant_criteria_courses", ["applicant_id"], name: "index_applicant_criteria_courses_on_applicant_id", using: :btree
+ add_index "applicant_criteria_courses", ["course_id"], name: "index_app_criteria_on_course_id", using: :btree
- create_table "applicant_degrees", :force => true do |t|
+ create_table "applicant_degrees", force: true do |t|
t.integer "degree_id"
t.integer "applicant_id"
t.string "description"
@@ -475,13 +480,13 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "degree_modified_name"
end
- add_index "applicant_degrees", ["applicant_id"], :name => "index_applicant_degrees_on_applicant_id"
- add_index "applicant_degrees", ["college_attended_id"], :name => "index_applicant_degrees_on_college_attended_id"
- add_index "applicant_degrees", ["degree_id"], :name => "index_applicant_degrees_on_degree_id"
- add_index "applicant_degrees", ["degree_status_id"], :name => "index_applicant_degrees_on_degree_status_id"
- add_index "applicant_degrees", ["identifier"], :name => "index_applicant_degrees_on_identifier"
+ add_index "applicant_degrees", ["applicant_id"], name: "index_applicant_degrees_on_applicant_id", using: :btree
+ add_index "applicant_degrees", ["college_attended_id"], name: "index_applicant_degrees_on_college_attended_id", using: :btree
+ add_index "applicant_degrees", ["degree_id"], name: "index_applicant_degrees_on_degree_id", using: :btree
+ add_index "applicant_degrees", ["degree_status_id"], name: "index_applicant_degrees_on_degree_status_id", using: :btree
+ add_index "applicant_degrees", ["identifier"], name: "index_applicant_degrees_on_identifier", using: :btree
- create_table "applicant_designation_details_mv", :force => true do |t|
+ create_table "applicant_designation_details_mv", force: true do |t|
t.integer "identifier"
t.string "school_code"
t.string "school_name"
@@ -570,7 +575,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "program_delivery"
t.string "status_title"
t.boolean "status_show"
- t.integer "program_unique_identifier", :limit => 8
+ t.integer "program_unique_identifier", limit: 8
t.string "alternate_program"
t.boolean "program_second_bachelor_degree"
t.boolean "program_associate_degree_for_transfer"
@@ -602,25 +607,25 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "last_exported_at"
end
- add_index "applicant_designation_details_mv", ["academic_update_status_id"], :name => "index_addw_on_academic_update_status_id"
- add_index "applicant_designation_details_mv", ["applicant_id", "application_status_id"], :name => "index_addw_on_applicant_id_and_application_status_id"
- add_index "applicant_designation_details_mv", ["applicant_id", "program_id"], :name => "index_addw_on_applicant_id_and_program_id"
- add_index "applicant_designation_details_mv", ["applicant_id", "status_show"], :name => "idx_designation_details_on_applicant_id_status_show"
- add_index "applicant_designation_details_mv", ["applicant_id"], :name => "index_addw_on_applicant_id"
- add_index "applicant_designation_details_mv", ["application_status_id"], :name => "index_addw_on_application_status_id"
- add_index "applicant_designation_details_mv", ["association_id"], :name => "index_addw_on_association_id"
- add_index "applicant_designation_details_mv", ["decision_id"], :name => "index_addw_on_decision_id"
- add_index "applicant_designation_details_mv", ["local_status_id"], :name => "index_addw_on_local_status_id"
- add_index "applicant_designation_details_mv", ["program_id", "applicant_id", "status_show"], :name => "idx_designation_details_on_program_id_applicant_id_status_show"
- add_index "applicant_designation_details_mv", ["program_id", "association_id"], :name => "index_addw_on_program_id_and_association_id"
- add_index "applicant_designation_details_mv", ["program_id"], :name => "index_addw_on_program_id"
- add_index "applicant_designation_details_mv", ["program_organization_id"], :name => "index_addw_on_program_organization_id"
- add_index "applicant_designation_details_mv", ["program_start_term_id"], :name => "index_applicant_designation_details_mv_on_program_start_term_id"
- add_index "applicant_designation_details_mv", ["program_start_year"], :name => "index_applicant_designation_details_mv_on_program_start_year"
- add_index "applicant_designation_details_mv", ["status_show", "program_id", "applicant_id"], :name => "idx_designation_details_on_status_show_program_id_applicant_id"
- add_index "applicant_designation_details_mv", ["status_title"], :name => "index_addw_on_status_title"
-
- create_table "applicant_details_headers", :force => true do |t|
+ add_index "applicant_designation_details_mv", ["academic_update_status_id"], name: "index_addw_on_academic_update_status_id", using: :btree
+ add_index "applicant_designation_details_mv", ["applicant_id", "application_status_id"], name: "index_addw_on_applicant_id_and_application_status_id", using: :btree
+ add_index "applicant_designation_details_mv", ["applicant_id", "program_id"], name: "index_addw_on_applicant_id_and_program_id", using: :btree
+ add_index "applicant_designation_details_mv", ["applicant_id", "status_show"], name: "idx_designation_details_on_applicant_id_status_show", using: :btree
+ add_index "applicant_designation_details_mv", ["applicant_id"], name: "index_addw_on_applicant_id", using: :btree
+ add_index "applicant_designation_details_mv", ["application_status_id"], name: "index_addw_on_application_status_id", using: :btree
+ add_index "applicant_designation_details_mv", ["association_id"], name: "index_addw_on_association_id", using: :btree
+ add_index "applicant_designation_details_mv", ["decision_id"], name: "index_addw_on_decision_id", using: :btree
+ add_index "applicant_designation_details_mv", ["local_status_id"], name: "index_addw_on_local_status_id", using: :btree
+ add_index "applicant_designation_details_mv", ["program_id", "applicant_id", "status_show"], name: "idx_designation_details_on_program_id_applicant_id_status_show", using: :btree
+ add_index "applicant_designation_details_mv", ["program_id", "association_id"], name: "index_addw_on_program_id_and_association_id", using: :btree
+ add_index "applicant_designation_details_mv", ["program_id"], name: "index_addw_on_program_id", using: :btree
+ add_index "applicant_designation_details_mv", ["program_organization_id"], name: "index_addw_on_program_organization_id", using: :btree
+ add_index "applicant_designation_details_mv", ["program_start_term_id"], name: "index_applicant_designation_details_mv_on_program_start_term_id", using: :btree
+ add_index "applicant_designation_details_mv", ["program_start_year"], name: "index_applicant_designation_details_mv_on_program_start_year", using: :btree
+ add_index "applicant_designation_details_mv", ["status_show", "program_id", "applicant_id"], name: "idx_designation_details_on_status_show_program_id_applicant_id", using: :btree
+ add_index "applicant_designation_details_mv", ["status_title"], name: "index_addw_on_status_title", using: :btree
+
+ create_table "applicant_details_headers", force: true do |t|
t.integer "field_id"
t.integer "organization_id"
t.integer "order"
@@ -628,12 +633,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "applicant_details_headers_programs", :id => false, :force => true do |t|
+ create_table "applicant_details_headers_programs", id: false, force: true do |t|
t.integer "applicant_details_header_id"
t.integer "program_id"
end
- create_table "applicant_ethnicities", :force => true do |t|
+ create_table "applicant_ethnicities", force: true do |t|
t.integer "applicant_id"
t.integer "ethnicity_id"
t.datetime "created_at"
@@ -642,15 +647,15 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "lookup_id"
end
- add_index "applicant_ethnicities", ["applicant_id", "ethnicity_id"], :name => "index_applicant_ethnicities_on_applicant_id_and_ethnicity_id"
- add_index "applicant_ethnicities", ["applicant_id"], :name => "index_applicant_ethnicities_on_applicant_id"
- add_index "applicant_ethnicities", ["ethnicity_id", "applicant_id"], :name => "index_applicant_ethnicities_on_ethnicity_id_and_applicant_id"
- add_index "applicant_ethnicities", ["ethnicity_id"], :name => "index_applicant_ethnicities_on_ethnicity_id"
- add_index "applicant_ethnicities", ["lookup_id"], :name => "index_applicant_ethnicities_on_lookup_id"
+ add_index "applicant_ethnicities", ["applicant_id", "ethnicity_id"], name: "index_applicant_ethnicities_on_applicant_id_and_ethnicity_id", using: :btree
+ add_index "applicant_ethnicities", ["applicant_id"], name: "index_applicant_ethnicities_on_applicant_id", using: :btree
+ add_index "applicant_ethnicities", ["ethnicity_id", "applicant_id"], name: "index_applicant_ethnicities_on_ethnicity_id_and_applicant_id", using: :btree
+ add_index "applicant_ethnicities", ["ethnicity_id"], name: "index_applicant_ethnicities_on_ethnicity_id", using: :btree
+ add_index "applicant_ethnicities", ["lookup_id"], name: "index_applicant_ethnicities_on_lookup_id", using: :btree
- create_table "applicant_gateway_activities", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "program_id", :null => false
+ create_table "applicant_gateway_activities", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "program_id", null: false
t.string "type"
t.datetime "enabled_date"
t.datetime "completed_date"
@@ -662,50 +667,50 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.boolean "ignore_deadline_date"
end
- add_index "applicant_gateway_activities", ["applicant_id", "program_id", "type"], :name => "applicant_gateway_activities_unique", :unique => true
+ add_index "applicant_gateway_activities", ["applicant_id", "program_id", "type"], name: "applicant_gateway_activities_unique", unique: true, using: :btree
- create_table "applicant_gateway_activity_assignment_type_bases", :force => true do |t|
+ create_table "applicant_gateway_activity_assignment_type_bases", force: true do |t|
t.integer "activity_id"
t.integer "assignment_type_base_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "applicant_gateway_activity_configurations", :force => true do |t|
- t.integer "activity_type_id", :null => false
- t.integer "program_id", :null => false
- t.boolean "enabled", :default => false, :null => false
+ create_table "applicant_gateway_activity_configurations", force: true do |t|
+ t.integer "activity_type_id", null: false
+ t.integer "program_id", null: false
+ t.boolean "enabled", default: false, null: false
t.boolean "rolling_date"
t.integer "days_from_enabled"
t.date "expiration_date"
t.boolean "ignore_deadline_date"
end
- add_index "applicant_gateway_activity_configurations", ["activity_type_id", "program_id"], :name => "app_gateway_act_conf_uniq_index", :unique => true
+ add_index "applicant_gateway_activity_configurations", ["activity_type_id", "program_id"], name: "app_gateway_act_conf_uniq_index", unique: true, using: :btree
- create_table "applicant_gateway_activity_states", :force => true do |t|
- t.string "name", :null => false
+ create_table "applicant_gateway_activity_states", force: true do |t|
+ t.string "name", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "applicant_gateway_activity_states", ["name"], :name => "index_applicant_gateway_activity_states_on_name", :unique => true
+ add_index "applicant_gateway_activity_states", ["name"], name: "index_applicant_gateway_activity_states_on_name", unique: true, using: :btree
- create_table "applicant_gateway_activity_types", :force => true do |t|
- t.string "title", :null => false
+ create_table "applicant_gateway_activity_types", force: true do |t|
+ t.string "title", null: false
t.datetime "created_at"
t.datetime "updated_at"
- t.string "activity_type", :null => false
+ t.string "activity_type", null: false
end
- add_index "applicant_gateway_activity_types", ["activity_type"], :name => "index_applicant_gateway_activity_types_on_activity_type", :unique => true
- add_index "applicant_gateway_activity_types", ["title"], :name => "index_applicant_gateway_activity_types_on_title", :unique => true
+ add_index "applicant_gateway_activity_types", ["activity_type"], name: "index_applicant_gateway_activity_types_on_activity_type", unique: true, using: :btree
+ add_index "applicant_gateway_activity_types", ["title"], name: "index_applicant_gateway_activity_types_on_title", unique: true, using: :btree
- create_table "applicant_gateway_fees", :force => true do |t|
+ create_table "applicant_gateway_fees", force: true do |t|
t.string "name"
- t.decimal "amount", :precision => 8, :scale => 2
- t.integer "applicant_id", :null => false
- t.integer "applicant_gateway_activity_id", :null => false
+ t.decimal "amount", precision: 8, scale: 2
+ t.integer "applicant_id", null: false
+ t.integer "applicant_gateway_activity_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.date "date_paid"
@@ -715,21 +720,21 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "identifier"
end
- add_index "applicant_gateway_fees", ["applicant_id"], :name => "index_applicant_gateway_fees_on_applicant_id"
+ add_index "applicant_gateway_fees", ["applicant_id"], name: "index_applicant_gateway_fees_on_applicant_id", using: :btree
- create_table "applicant_gateway_offers", :force => true do |t|
+ create_table "applicant_gateway_offers", force: true do |t|
t.integer "applicant_gateway_activity_id"
t.text "question"
t.datetime "created_at"
t.datetime "updated_at"
- t.integer "applicant_id", :null => false
+ t.integer "applicant_id", null: false
t.integer "extend_offer_decision_id"
end
- add_index "applicant_gateway_offers", ["applicant_gateway_activity_id"], :name => "index_applicant_gateway_offers_on_applicant_gateway_activity_id"
- add_index "applicant_gateway_offers", ["applicant_id"], :name => "index_applicant_gateway_offers_on_applicant_id"
+ add_index "applicant_gateway_offers", ["applicant_gateway_activity_id"], name: "index_applicant_gateway_offers_on_applicant_gateway_activity_id", using: :btree
+ add_index "applicant_gateway_offers", ["applicant_id"], name: "index_applicant_gateway_offers_on_applicant_id", using: :btree
- create_table "applicant_heard_about_sources", :force => true do |t|
+ create_table "applicant_heard_about_sources", force: true do |t|
t.integer "applicant_id"
t.boolean "friend_or_relative"
t.boolean "teacher_or_professor"
@@ -746,38 +751,38 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.boolean "alumni_or_current_student"
t.boolean "internet"
t.string "other"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.boolean "grad_teacher_or_professor"
t.boolean "undergrad_teacher_or_professor"
t.boolean "aupha_literature"
t.boolean "parent"
end
- add_index "applicant_heard_about_sources", ["advisor_or_conselor"], :name => "ahas_advisor_or_conselor"
- add_index "applicant_heard_about_sources", ["alumni_or_current_student"], :name => "ahas_alumni_or_current_student"
- add_index "applicant_heard_about_sources", ["applicant_id"], :name => "index_applicant_heard_about_sources_on_applicant_id"
- add_index "applicant_heard_about_sources", ["asph_literature"], :name => "ahas_asph_literature"
- add_index "applicant_heard_about_sources", ["aupha_literature"], :name => "ahas_aupha_literature"
- add_index "applicant_heard_about_sources", ["career_fair"], :name => "ahas_career_fair"
- add_index "applicant_heard_about_sources", ["friend_or_relative"], :name => "ahas_friend_or_relative"
- add_index "applicant_heard_about_sources", ["grad_teacher_or_professor"], :name => "ahas_grad_teacher_or_professor"
- add_index "applicant_heard_about_sources", ["graduate_school_fair"], :name => "ahas_graduate_school_fair"
- add_index "applicant_heard_about_sources", ["health_care_provider"], :name => "ahas_health_care_provider"
- add_index "applicant_heard_about_sources", ["health_related_experience"], :name => "ahas_health_related_experience"
- add_index "applicant_heard_about_sources", ["idealist_event"], :name => "ahas_idealist_event"
- add_index "applicant_heard_about_sources", ["internet"], :name => "ahas_internet"
- add_index "applicant_heard_about_sources", ["media"], :name => "ahas_media"
- add_index "applicant_heard_about_sources", ["parent"], :name => "ahas_parent"
- add_index "applicant_heard_about_sources", ["professional_conference"], :name => "ahas_professional_conference"
- add_index "applicant_heard_about_sources", ["sph_literature"], :name => "ahas_sph_literature"
- add_index "applicant_heard_about_sources", ["teacher_or_professor"], :name => "ahas_teacher_or_professor"
- add_index "applicant_heard_about_sources", ["undergrad_teacher_or_professor"], :name => "ahas_undergrad_teacher_or_professor"
-
- create_table "applicant_mailings", :force => true do |t|
+ add_index "applicant_heard_about_sources", ["advisor_or_conselor"], name: "ahas_advisor_or_conselor", using: :btree
+ add_index "applicant_heard_about_sources", ["alumni_or_current_student"], name: "ahas_alumni_or_current_student", using: :btree
+ add_index "applicant_heard_about_sources", ["applicant_id"], name: "index_applicant_heard_about_sources_on_applicant_id", using: :btree
+ add_index "applicant_heard_about_sources", ["asph_literature"], name: "ahas_asph_literature", using: :btree
+ add_index "applicant_heard_about_sources", ["aupha_literature"], name: "ahas_aupha_literature", using: :btree
+ add_index "applicant_heard_about_sources", ["career_fair"], name: "ahas_career_fair", using: :btree
+ add_index "applicant_heard_about_sources", ["friend_or_relative"], name: "ahas_friend_or_relative", using: :btree
+ add_index "applicant_heard_about_sources", ["grad_teacher_or_professor"], name: "ahas_grad_teacher_or_professor", using: :btree
+ add_index "applicant_heard_about_sources", ["graduate_school_fair"], name: "ahas_graduate_school_fair", using: :btree
+ add_index "applicant_heard_about_sources", ["health_care_provider"], name: "ahas_health_care_provider", using: :btree
+ add_index "applicant_heard_about_sources", ["health_related_experience"], name: "ahas_health_related_experience", using: :btree
+ add_index "applicant_heard_about_sources", ["idealist_event"], name: "ahas_idealist_event", using: :btree
+ add_index "applicant_heard_about_sources", ["internet"], name: "ahas_internet", using: :btree
+ add_index "applicant_heard_about_sources", ["media"], name: "ahas_media", using: :btree
+ add_index "applicant_heard_about_sources", ["parent"], name: "ahas_parent", using: :btree
+ add_index "applicant_heard_about_sources", ["professional_conference"], name: "ahas_professional_conference", using: :btree
+ add_index "applicant_heard_about_sources", ["sph_literature"], name: "ahas_sph_literature", using: :btree
+ add_index "applicant_heard_about_sources", ["teacher_or_professor"], name: "ahas_teacher_or_professor", using: :btree
+ add_index "applicant_heard_about_sources", ["undergrad_teacher_or_professor"], name: "ahas_undergrad_teacher_or_professor", using: :btree
+
+ create_table "applicant_mailings", force: true do |t|
t.integer "mailing_id"
t.integer "applicant_id"
- t.boolean "revised_status", :default => false
+ t.boolean "revised_status", default: false
t.integer "program_id"
t.string "identifier"
t.integer "organization_id"
@@ -785,15 +790,15 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "applicant_mailings", ["applicant_id", "mailing_id"], :name => "index_applicant_mailings_on_applicant_id_and_mailing_id"
- add_index "applicant_mailings", ["applicant_id"], :name => "index_applicant_mailings_on_applicant_id"
- add_index "applicant_mailings", ["identifier"], :name => "index_applicant_mailings_on_identifier"
- add_index "applicant_mailings", ["mailing_id", "program_id"], :name => "index_applicant_mailings_on_mailing_id_and_program_id"
- add_index "applicant_mailings", ["mailing_id"], :name => "index_applicant_mailings_on_mailing_id"
- add_index "applicant_mailings", ["organization_id"], :name => "index_applicant_mailings_on_organization_id"
- add_index "applicant_mailings", ["program_id"], :name => "index_applicant_mailings_on_program_id"
+ add_index "applicant_mailings", ["applicant_id", "mailing_id"], name: "index_applicant_mailings_on_applicant_id_and_mailing_id", using: :btree
+ add_index "applicant_mailings", ["applicant_id"], name: "index_applicant_mailings_on_applicant_id", using: :btree
+ add_index "applicant_mailings", ["identifier"], name: "index_applicant_mailings_on_identifier", using: :btree
+ add_index "applicant_mailings", ["mailing_id", "program_id"], name: "index_applicant_mailings_on_mailing_id_and_program_id", using: :btree
+ add_index "applicant_mailings", ["mailing_id"], name: "index_applicant_mailings_on_mailing_id", using: :btree
+ add_index "applicant_mailings", ["organization_id"], name: "index_applicant_mailings_on_organization_id", using: :btree
+ add_index "applicant_mailings", ["program_id"], name: "index_applicant_mailings_on_program_id", using: :btree
- create_table "applicant_majors", :force => true do |t|
+ create_table "applicant_majors", force: true do |t|
t.integer "major_id"
t.integer "applicant_id"
t.integer "association_id"
@@ -806,15 +811,15 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "major_modified_name"
end
- add_index "applicant_majors", ["applicant_degree_id"], :name => "index_applicant_majors_on_applicant_degree_id"
- add_index "applicant_majors", ["applicant_id"], :name => "index_applicant_majors_on_applicant_id"
- add_index "applicant_majors", ["association_id"], :name => "index_applicant_majors_on_association_id"
- add_index "applicant_majors", ["major_id"], :name => "index_applicant_majors_on_major_id"
+ add_index "applicant_majors", ["applicant_degree_id"], name: "index_applicant_majors_on_applicant_degree_id", using: :btree
+ add_index "applicant_majors", ["applicant_id"], name: "index_applicant_majors_on_applicant_id", using: :btree
+ add_index "applicant_majors", ["association_id"], name: "index_applicant_majors_on_association_id", using: :btree
+ add_index "applicant_majors", ["major_id"], name: "index_applicant_majors_on_major_id", using: :btree
- create_table "applicant_military_branches", :force => true do |t|
- t.string "identifier", :null => false
- t.integer "applicant_id", :null => false
- t.integer "military_branch_id", :null => false
+ create_table "applicant_military_branches", force: true do |t|
+ t.string "identifier", null: false
+ t.integer "applicant_id", null: false
+ t.integer "military_branch_id", null: false
t.date "military_service_began"
t.date "military_service_ended"
t.boolean "still_serving"
@@ -822,7 +827,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "applicant_minors", :force => true do |t|
+ create_table "applicant_minors", force: true do |t|
t.integer "minor_id"
t.integer "applicant_id"
t.integer "association_id"
@@ -836,13 +841,13 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "minor_modified_name"
end
- add_index "applicant_minors", ["applicant_degree_id"], :name => "index_applicant_minors_on_applicant_degree_id"
- add_index "applicant_minors", ["applicant_id"], :name => "index_applicant_minors_on_applicant_id"
- add_index "applicant_minors", ["association_id"], :name => "index_applicant_minors_on_association_id"
- add_index "applicant_minors", ["minor_id"], :name => "index_applicant_minors_on_minor_id"
+ add_index "applicant_minors", ["applicant_degree_id"], name: "index_applicant_minors_on_applicant_degree_id", using: :btree
+ add_index "applicant_minors", ["applicant_id"], name: "index_applicant_minors_on_applicant_id", using: :btree
+ add_index "applicant_minors", ["association_id"], name: "index_applicant_minors_on_association_id", using: :btree
+ add_index "applicant_minors", ["minor_id"], name: "index_applicant_minors_on_minor_id", using: :btree
- create_table "applicant_preferred_genders", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "applicant_preferred_genders", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "sexual_orientation_id"
t.string "sexual_orientation_other"
t.integer "gender_identity_id"
@@ -853,66 +858,66 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "applicant_preferred_genders", ["applicant_id"], :name => "index_applicant_preferred_genders_on_applicant_id", :unique => true
- add_index "applicant_preferred_genders", ["gender_behavior_id"], :name => "index_applicant_preferred_genders_on_gender_behavior_id"
- add_index "applicant_preferred_genders", ["gender_identity_id"], :name => "index_applicant_preferred_genders_on_gender_identity_id"
- add_index "applicant_preferred_genders", ["sexual_orientation_id"], :name => "index_applicant_preferred_genders_on_sexual_orientation_id"
+ add_index "applicant_preferred_genders", ["applicant_id"], name: "index_applicant_preferred_genders_on_applicant_id", unique: true, using: :btree
+ add_index "applicant_preferred_genders", ["gender_behavior_id"], name: "index_applicant_preferred_genders_on_gender_behavior_id", using: :btree
+ add_index "applicant_preferred_genders", ["gender_identity_id"], name: "index_applicant_preferred_genders_on_gender_identity_id", using: :btree
+ add_index "applicant_preferred_genders", ["sexual_orientation_id"], name: "index_applicant_preferred_genders_on_sexual_orientation_id", using: :btree
- create_table "applicant_redirections", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "user_id", :null => false
- t.integer "designation_id", :null => false
+ create_table "applicant_redirections", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "user_id", null: false
+ t.integer "designation_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "applicant_redirections", ["applicant_id", "designation_id"], :name => "index_applicant_redirections_on_applicant_id_and_designation_id", :unique => true
+ add_index "applicant_redirections", ["applicant_id", "designation_id"], name: "index_applicant_redirections_on_applicant_id_and_designation_id", unique: true, using: :btree
- create_table "applicant_requirements", :force => true do |t|
+ create_table "applicant_requirements", force: true do |t|
t.integer "applicant_id"
t.integer "requirement_id"
- t.boolean "fulfilled", :default => false
+ t.boolean "fulfilled", default: false
t.datetime "created_at"
t.datetime "updated_at"
t.datetime "fulfilled_at"
- t.decimal "credits", :precision => 20, :scale => 16
- t.decimal "gpa", :precision => 3, :scale => 2
- t.decimal "quality_points", :precision => 20, :scale => 16
+ t.decimal "credits", precision: 20, scale: 16
+ t.decimal "gpa", precision: 3, scale: 2
+ t.decimal "quality_points", precision: 20, scale: 16
t.string "requirement_type"
- t.boolean "reconciled", :default => false
+ t.boolean "reconciled", default: false
end
- add_index "applicant_requirements", ["applicant_id", "requirement_id"], :name => "index_applicant_requirements_on_applicant_id_and_requirement_id", :unique => true
- add_index "applicant_requirements", ["applicant_id"], :name => "index_applicant_requirements_on_applicant_id"
- add_index "applicant_requirements", ["requirement_id", "requirement_type"], :name => "app_req_requirement_id_and_requirement_type_idx"
- add_index "applicant_requirements", ["requirement_id"], :name => "index_applicant_requirements_on_requirement_id"
+ add_index "applicant_requirements", ["applicant_id", "requirement_id"], name: "index_applicant_requirements_on_applicant_id_and_requirement_id", unique: true, using: :btree
+ add_index "applicant_requirements", ["applicant_id"], name: "index_applicant_requirements_on_applicant_id", using: :btree
+ add_index "applicant_requirements", ["requirement_id", "requirement_type"], name: "app_req_requirement_id_and_requirement_type_idx", using: :btree
+ add_index "applicant_requirements", ["requirement_id"], name: "index_applicant_requirements_on_requirement_id", using: :btree
- create_table "applicant_score_entries", :force => true do |t|
+ create_table "applicant_score_entries", force: true do |t|
t.integer "score_id"
- t.decimal "calculated_score", :precision => 13, :scale => 3, :default => 0.0, :null => false
+ t.decimal "calculated_score", precision: 13, scale: 3, default: 0.0, null: false
t.integer "model_component_id"
t.datetime "created_at"
t.datetime "updated_at"
t.string "point_table_input"
end
- add_index "applicant_score_entries", ["model_component_id", "score_id"], :name => "unique_score_entrie", :unique => true
- add_index "applicant_score_entries", ["model_component_id"], :name => "index_applicant_score_entries_on_model_compenent_id"
- add_index "applicant_score_entries", ["score_id"], :name => "index_applicant_score_entries_on_score_id"
+ add_index "applicant_score_entries", ["model_component_id", "score_id"], name: "unique_score_entrie", unique: true, using: :btree
+ add_index "applicant_score_entries", ["model_component_id"], name: "index_applicant_score_entries_on_model_compenent_id", using: :btree
+ add_index "applicant_score_entries", ["score_id"], name: "index_applicant_score_entries_on_score_id", using: :btree
- create_table "applicant_scores", :force => true do |t|
+ create_table "applicant_scores", force: true do |t|
t.integer "scoring_model_id"
t.datetime "created_at"
t.datetime "updated_at"
- t.decimal "calculated_score", :precision => 15, :scale => 3, :default => 0.0
+ t.decimal "calculated_score", precision: 15, scale: 3, default: 0.0
t.integer "applicant_id"
end
- add_index "applicant_scores", ["applicant_id"], :name => "index_applicant_scores_on_applicant_id"
- add_index "applicant_scores", ["calculated_score"], :name => "index_applicant_scores_on_calculated_score"
- add_index "applicant_scores", ["scoring_model_id"], :name => "index_applicant_scores_on_scoring_model_id"
+ add_index "applicant_scores", ["applicant_id"], name: "index_applicant_scores_on_applicant_id", using: :btree
+ add_index "applicant_scores", ["calculated_score"], name: "index_applicant_scores_on_calculated_score", using: :btree
+ add_index "applicant_scores", ["scoring_model_id"], name: "index_applicant_scores_on_scoring_model_id", using: :btree
- create_table "applicant_supplied_question_sets", :force => true do |t|
+ create_table "applicant_supplied_question_sets", force: true do |t|
t.integer "applicant_id"
t.string "question"
t.string "answer"
@@ -922,17 +927,17 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "applicant_updates", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "applicant_updates", force: true do |t|
+ t.integer "applicant_id", null: false
t.datetime "last_updated_at"
t.string "updated_by"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "applicant_updates", ["applicant_id"], :name => "index_applicant_updates_on_applicant_id"
+ add_index "applicant_updates", ["applicant_id"], name: "index_applicant_updates_on_applicant_id", using: :btree
- create_table "applicants", :force => true do |t|
+ create_table "applicants", force: true do |t|
t.string "ssn"
t.datetime "created_at"
t.datetime "updated_at"
@@ -953,7 +958,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.date "verified_date"
t.string "professional_pin"
t.string "match_id"
- t.boolean "pre_submission_release_authorized", :default => false
+ t.boolean "pre_submission_release_authorized", default: false
t.string "photo_file_name"
t.string "photo_content_type"
t.integer "photo_file_size"
@@ -961,32 +966,32 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "id_number"
t.string "id_number_type"
t.boolean "visible_for_advisor"
- t.boolean "direct_applicant_complete", :default => false
+ t.boolean "direct_applicant_complete", default: false
t.integer "email_type_id"
t.string "dentpin"
t.date "date_submitted"
end
- add_index "applicants", ["association_id", "identifier"], :name => "index_applicants_on_association_id_and_identifier"
- add_index "applicants", ["association_id"], :name => "index_applicants_on_association_id"
- add_index "applicants", ["cas_id"], :name => "index_applicants_on_cas_id"
- add_index "applicants", ["email_type_id"], :name => "index_applicants_on_email_type_id"
- add_index "applicants", ["identifier", "cas_id", "association_id"], :name => "unique_find_or_create"
- add_index "applicants", ["identifier"], :name => "index_applicants_on_identifier"
- add_index "applicants", ["match_id"], :name => "index_applicants_on_match_id"
+ add_index "applicants", ["association_id", "identifier"], name: "index_applicants_on_association_id_and_identifier", using: :btree
+ add_index "applicants", ["association_id"], name: "index_applicants_on_association_id", using: :btree
+ add_index "applicants", ["cas_id"], name: "index_applicants_on_cas_id", using: :btree
+ add_index "applicants", ["email_type_id"], name: "index_applicants_on_email_type_id", using: :btree
+ add_index "applicants", ["identifier", "cas_id", "association_id"], name: "unique_find_or_create", using: :btree
+ add_index "applicants", ["identifier"], name: "index_applicants_on_identifier", using: :btree
+ add_index "applicants", ["match_id"], name: "index_applicants_on_match_id", using: :btree
- create_table "applicants_emails", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "email_id", :null => false
+ create_table "applicants_emails", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "email_id", null: false
t.string "status_description"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "applicants_emails", ["applicant_id"], :name => "index_applicants_emails_on_applicant_id"
- add_index "applicants_emails", ["email_id"], :name => "index_applicants_emails_on_email_id"
+ add_index "applicants_emails", ["applicant_id"], name: "index_applicants_emails_on_applicant_id", using: :btree
+ add_index "applicants_emails", ["email_id"], name: "index_applicants_emails_on_email_id", using: :btree
- create_table "application_types", :force => true do |t|
+ create_table "application_types", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -994,49 +999,49 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "application_types", ["association_id", "identifier"], :name => "index_application_types_on_association_id_and_identifier"
- add_index "application_types", ["association_id"], :name => "index_application_types_on_association_id"
- add_index "application_types", ["identifier"], :name => "index_application_types_on_identifier"
+ add_index "application_types", ["association_id", "identifier"], name: "index_application_types_on_association_id_and_identifier", using: :btree
+ add_index "application_types", ["association_id"], name: "index_application_types_on_association_id", using: :btree
+ add_index "application_types", ["identifier"], name: "index_application_types_on_identifier", using: :btree
- create_table "applied_fee_waivers", :force => true do |t|
- t.integer "payment_transaction_id", :null => false
- t.integer "applicant_id", :null => false
- t.string "identifier", :null => false
- t.integer "status_id", :null => false
- t.decimal "redeemed_amount", :precision => 8, :scale => 2
+ create_table "applied_fee_waivers", force: true do |t|
+ t.integer "payment_transaction_id", null: false
+ t.integer "applicant_id", null: false
+ t.string "identifier", null: false
+ t.integer "status_id", null: false
+ t.decimal "redeemed_amount", precision: 8, scale: 2
t.datetime "redeemed_at"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
- t.string "fee_waiver_type", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.string "fee_waiver_type", null: false
end
- add_index "applied_fee_waivers", ["applicant_id"], :name => "index_applied_fee_waivers_on_applicant_id"
- add_index "applied_fee_waivers", ["identifier"], :name => "index_applied_fee_waivers_on_identifier"
- add_index "applied_fee_waivers", ["payment_transaction_id"], :name => "index_applied_fee_waivers_on_payment_transaction_id"
+ add_index "applied_fee_waivers", ["applicant_id"], name: "index_applied_fee_waivers_on_applicant_id", using: :btree
+ add_index "applied_fee_waivers", ["identifier"], name: "index_applied_fee_waivers_on_identifier", using: :btree
+ add_index "applied_fee_waivers", ["payment_transaction_id"], name: "index_applied_fee_waivers_on_payment_transaction_id", using: :btree
- create_table "assignment_answers", :force => true do |t|
+ create_table "assignment_answers", force: true do |t|
t.integer "assignment_base_id"
t.integer "question_id"
t.text "comments"
- t.decimal "score", :precision => 7, :scale => 2
+ t.decimal "score", precision: 7, scale: 2
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "assignment_answers", ["assignment_base_id", "question_id"], :name => "index_assignment_answers_on_assignment_base_id_and_question_id", :unique => true
- add_index "assignment_answers", ["assignment_base_id"], :name => "index_assignment_answers_on_assignment_base_id"
- add_index "assignment_answers", ["question_id"], :name => "index_assignment_answers_on_question_id"
+ add_index "assignment_answers", ["assignment_base_id", "question_id"], name: "index_assignment_answers_on_assignment_base_id_and_question_id", unique: true, using: :btree
+ add_index "assignment_answers", ["assignment_base_id"], name: "index_assignment_answers_on_assignment_base_id", using: :btree
+ add_index "assignment_answers", ["question_id"], name: "index_assignment_answers_on_question_id", using: :btree
- create_table "assignment_bases", :force => true do |t|
+ create_table "assignment_bases", force: true do |t|
t.integer "applicant_id"
t.integer "assignment_type_base_id"
- t.boolean "complete", :null => false
+ t.boolean "complete", null: false
t.date "due_date"
t.integer "organization_id"
t.integer "remark_id"
t.text "comments"
t.datetime "completed_at"
- t.decimal "score", :precision => 7, :scale => 2
+ t.decimal "score", precision: 7, scale: 2
t.string "type"
t.integer "interview_location_id"
t.integer "interview_slot_id"
@@ -1046,19 +1051,19 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
t.datetime "updated_at"
t.integer "time"
- t.boolean "in_progress", :default => false
+ t.boolean "in_progress", default: false
end
- add_index "assignment_bases", ["applicant_id"], :name => "index_assignment_bases_on_applicant_id"
- add_index "assignment_bases", ["assignment_type_base_id"], :name => "index_assignment_bases_on_assignment_type_base_id"
- add_index "assignment_bases", ["interview_location_id"], :name => "index_assignment_bases_on_interview_location_id"
- add_index "assignment_bases", ["interview_slot_id"], :name => "index_assignment_bases_on_interview_slot_id"
- add_index "assignment_bases", ["organization_id"], :name => "index_assignment_bases_on_organization_id"
- add_index "assignment_bases", ["remark_id"], :name => "index_assignment_bases_on_remark_id"
- add_index "assignment_bases", ["type", "user_identity_id", "complete"], :name => "idx_assignment_bases_on_type_and_user_identity_id_and_complete"
- add_index "assignment_bases", ["type"], :name => "index_assignment_bases_on_type"
+ add_index "assignment_bases", ["applicant_id"], name: "index_assignment_bases_on_applicant_id", using: :btree
+ add_index "assignment_bases", ["assignment_type_base_id"], name: "index_assignment_bases_on_assignment_type_base_id", using: :btree
+ add_index "assignment_bases", ["interview_location_id"], name: "index_assignment_bases_on_interview_location_id", using: :btree
+ add_index "assignment_bases", ["interview_slot_id"], name: "index_assignment_bases_on_interview_slot_id", using: :btree
+ add_index "assignment_bases", ["organization_id"], name: "index_assignment_bases_on_organization_id", using: :btree
+ add_index "assignment_bases", ["remark_id"], name: "index_assignment_bases_on_remark_id", using: :btree
+ add_index "assignment_bases", ["type", "user_identity_id", "complete"], name: "idx_assignment_bases_on_type_and_user_identity_id_and_complete", using: :btree
+ add_index "assignment_bases", ["type"], name: "index_assignment_bases_on_type", using: :btree
- create_table "assignment_questions", :force => true do |t|
+ create_table "assignment_questions", force: true do |t|
t.boolean "active"
t.integer "assignment_type_base_id"
t.string "name"
@@ -1069,9 +1074,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "assignment_questions", ["assignment_type_base_id"], :name => "index_assignment_questions_on_assignment_type_base_id"
+ add_index "assignment_questions", ["assignment_type_base_id"], name: "index_assignment_questions_on_assignment_type_base_id", using: :btree
- create_table "assignment_type_bases", :force => true do |t|
+ create_table "assignment_type_bases", force: true do |t|
t.text "instructions"
t.string "name"
t.integer "organization_id"
@@ -1086,27 +1091,27 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "assignment_type_bases", ["organization_id"], :name => "index_assignment_type_bases_on_organization_id"
- add_index "assignment_type_bases", ["type"], :name => "index_assignment_type_bases_on_type"
+ add_index "assignment_type_bases", ["organization_id"], name: "index_assignment_type_bases_on_organization_id", using: :btree
+ add_index "assignment_type_bases", ["type"], name: "index_assignment_type_bases_on_type", using: :btree
- create_table "assignment_type_bases_programs", :force => true do |t|
+ create_table "assignment_type_bases_programs", force: true do |t|
t.integer "assignment_type_base_id"
t.integer "program_id"
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "assignment_type_bases_programs", ["assignment_type_base_id"], :name => "index_assignment_type_bases_programs_on_assignment_type_base_id"
- add_index "assignment_type_bases_programs", ["program_id"], :name => "index_assignment_type_bases_programs_on_program_id"
+ add_index "assignment_type_bases_programs", ["assignment_type_base_id"], name: "index_assignment_type_bases_programs_on_assignment_type_base_id", using: :btree
+ add_index "assignment_type_bases_programs", ["program_id"], name: "index_assignment_type_bases_programs_on_program_id", using: :btree
- create_table "associations", :force => true do |t|
- t.string "name", :null => false
- t.string "base_domain", :null => false
+ create_table "associations", force: true do |t|
+ t.string "name", null: false
+ t.string "base_domain", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.string "identifier"
t.integer "cas_id"
- t.boolean "active", :default => false
+ t.boolean "active", default: false
t.string "help_manual_url"
t.string "body_class"
t.string "settings_transfer_from_url"
@@ -1122,33 +1127,33 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "logo_file_size"
t.datetime "logo_updated_at"
t.datetime "max_allowable_deadline"
- t.boolean "cas3", :default => false
- t.boolean "auto_sync_with_config_portal", :default => false
+ t.boolean "cas3", default: false
+ t.boolean "auto_sync_with_config_portal", default: false
t.string "application_form_identifier"
t.string "cas_token"
t.string "matriculated_elsewhere_feature_name"
t.integer "previous_cycle_id"
t.string "logo_border_color"
- t.boolean "whitelist", :default => false, :null => false
+ t.boolean "whitelist", default: false, null: false
end
- add_index "associations", ["application_form_identifier"], :name => "index_associations_on_application_form_identifier", :unique => true
- add_index "associations", ["cas3"], :name => "index_associations_on_cas3"
- add_index "associations", ["cas_id", "cycle_id"], :name => "index_associations_on_cas_id_and_cycle_id", :unique => true
- add_index "associations", ["cas_id"], :name => "index_associations_on_cas_id"
- add_index "associations", ["identifier"], :name => "index_associations_on_identifier"
+ add_index "associations", ["application_form_identifier"], name: "index_associations_on_application_form_identifier", unique: true, using: :btree
+ add_index "associations", ["cas3"], name: "index_associations_on_cas3", using: :btree
+ add_index "associations", ["cas_id", "cycle_id"], name: "index_associations_on_cas_id_and_cycle_id", unique: true, using: :btree
+ add_index "associations", ["cas_id"], name: "index_associations_on_cas_id", using: :btree
+ add_index "associations", ["identifier"], name: "index_associations_on_identifier", using: :btree
- create_table "associations_fields", :force => true do |t|
+ create_table "associations_fields", force: true do |t|
t.integer "association_id"
t.integer "field_id"
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "associations_fields", ["association_id"], :name => "index_associations_fields_on_association_id"
- add_index "associations_fields", ["field_id"], :name => "index_associations_fields_on_field_id"
+ add_index "associations_fields", ["association_id"], name: "index_associations_fields_on_association_id", using: :btree
+ add_index "associations_fields", ["field_id"], name: "index_associations_fields_on_field_id", using: :btree
- create_table "attended_conferences", :force => true do |t|
+ create_table "attended_conferences", force: true do |t|
t.string "conference_organization_name"
t.date "date"
t.text "description"
@@ -1158,10 +1163,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "attended_conferences", ["applicant_id"], :name => "index_attended_conferences_on_applicant_id"
- add_index "attended_conferences", ["identifier"], :name => "index_attended_conferences_on_identifier"
+ add_index "attended_conferences", ["applicant_id"], name: "index_attended_conferences_on_applicant_id", using: :btree
+ add_index "attended_conferences", ["identifier"], name: "index_attended_conferences_on_identifier", using: :btree
- create_table "background_check_accounts", :force => true do |t|
+ create_table "background_check_accounts", force: true do |t|
t.integer "program_id"
t.string "account_email"
t.string "partner_identifier"
@@ -1172,9 +1177,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.boolean "opt_in"
end
- add_index "background_check_accounts", ["program_id", "partner_identifier"], :name => "program_id_vendor_unique_id", :unique => true
+ add_index "background_check_accounts", ["program_id", "partner_identifier"], name: "program_id_vendor_unique_id", unique: true, using: :btree
- create_table "background_check_requests", :force => true do |t|
+ create_table "background_check_requests", force: true do |t|
t.integer "background_check_account_id"
t.integer "applicant_id"
t.datetime "ordered_at"
@@ -1185,7 +1190,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "expires_at"
end
- create_table "campus_designations", :force => true do |t|
+ create_table "campus_designations", force: true do |t|
t.integer "applicant_id"
t.integer "campus_id"
t.integer "designation_id"
@@ -1196,12 +1201,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "designation_identifier"
end
- add_index "campus_designations", ["applicant_id"], :name => "index_campus_designations_on_applicant_id"
- add_index "campus_designations", ["campus_id"], :name => "index_campus_designations_on_campus_id"
- add_index "campus_designations", ["designation_id"], :name => "index_campus_designations_on_designation_id"
- add_index "campus_designations", ["organization_id"], :name => "index_campus_designations_on_organization_id"
+ add_index "campus_designations", ["applicant_id"], name: "index_campus_designations_on_applicant_id", using: :btree
+ add_index "campus_designations", ["campus_id"], name: "index_campus_designations_on_campus_id", using: :btree
+ add_index "campus_designations", ["designation_id"], name: "index_campus_designations_on_designation_id", using: :btree
+ add_index "campus_designations", ["organization_id"], name: "index_campus_designations_on_organization_id", using: :btree
- create_table "campuses", :force => true do |t|
+ create_table "campuses", force: true do |t|
t.integer "association_id"
t.integer "organization_id"
t.integer "state_id"
@@ -1209,11 +1214,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "matriculated", :default => false
+ t.boolean "matriculated", default: false
t.string "code"
end
- create_table "canadian_citizenship_statuses", :force => true do |t|
+ create_table "canadian_citizenship_statuses", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -1221,18 +1226,18 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "cas_attachment_programs", :force => true do |t|
- t.integer "cas_attachment_id", :null => false
- t.integer "program_id", :null => false
+ create_table "cas_attachment_programs", force: true do |t|
+ t.integer "cas_attachment_id", null: false
+ t.integer "program_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.integer "applicant_id"
end
- add_index "cas_attachment_programs", ["applicant_id"], :name => "index_cas_attachment_programs_on_applicant_id"
- add_index "cas_attachment_programs", ["program_id", "cas_attachment_id"], :name => "unique_cas_attachment_programs", :unique => true
+ add_index "cas_attachment_programs", ["applicant_id"], name: "index_cas_attachment_programs_on_applicant_id", using: :btree
+ add_index "cas_attachment_programs", ["program_id", "cas_attachment_id"], name: "unique_cas_attachment_programs", unique: true, using: :btree
- create_table "cas_attachments", :force => true do |t|
+ create_table "cas_attachments", force: true do |t|
t.integer "applicant_id"
t.integer "cas_attachment_type_id"
t.string "filename"
@@ -1242,18 +1247,18 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
t.datetime "updated_at"
t.string "identifier"
- t.string "scope_type", :null => false
+ t.string "scope_type", null: false
t.integer "owner_id"
t.string "owner_type"
end
- add_index "cas_attachments", ["applicant_id"], :name => "index_cas_attachments_on_applicant_id"
- add_index "cas_attachments", ["identifier"], :name => "index_cas_attachments_on_identifier"
- add_index "cas_attachments", ["owner_id"], :name => "index_cas_attachments_on_owner_id"
- add_index "cas_attachments", ["owner_type"], :name => "index_cas_attachments_on_owner_type"
- add_index "cas_attachments", ["scope_type"], :name => "index_cas_attachments_on_scope_type"
+ add_index "cas_attachments", ["applicant_id"], name: "index_cas_attachments_on_applicant_id", using: :btree
+ add_index "cas_attachments", ["identifier"], name: "index_cas_attachments_on_identifier", using: :btree
+ add_index "cas_attachments", ["owner_id"], name: "index_cas_attachments_on_owner_id", using: :btree
+ add_index "cas_attachments", ["owner_type"], name: "index_cas_attachments_on_owner_type", using: :btree
+ add_index "cas_attachments", ["scope_type"], name: "index_cas_attachments_on_scope_type", using: :btree
- create_table "cas_comments", :force => true do |t|
+ create_table "cas_comments", force: true do |t|
t.integer "applicant_id"
t.integer "cas_management_id"
t.datetime "comment_date"
@@ -1265,31 +1270,31 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "commenter_name"
end
- add_index "cas_comments", ["applicant_id"], :name => "index_cas_comments_on_applicant_id"
- add_index "cas_comments", ["association_id", "identifier"], :name => "index_cas_comments_on_association_id_and_identifier"
- add_index "cas_comments", ["association_id"], :name => "index_cas_comments_on_association_id"
- add_index "cas_comments", ["cas_management_id"], :name => "index_cas_comments_on_cas_management_id"
- add_index "cas_comments", ["identifier"], :name => "index_cas_comments_on_identifier"
+ add_index "cas_comments", ["applicant_id"], name: "index_cas_comments_on_applicant_id", using: :btree
+ add_index "cas_comments", ["association_id", "identifier"], name: "index_cas_comments_on_association_id_and_identifier", using: :btree
+ add_index "cas_comments", ["association_id"], name: "index_cas_comments_on_association_id", using: :btree
+ add_index "cas_comments", ["cas_management_id"], name: "index_cas_comments_on_cas_management_id", using: :btree
+ add_index "cas_comments", ["identifier"], name: "index_cas_comments_on_identifier", using: :btree
- create_table "cas_gpa_types", :force => true do |t|
+ create_table "cas_gpa_types", force: true do |t|
t.string "name"
t.string "identifier"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "cas_identifiers", :force => true do |t|
+ create_table "cas_identifiers", force: true do |t|
t.string "name"
t.string "identifier"
t.integer "cas_id"
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "auto_sync_with_config_portal", :default => false
+ t.boolean "auto_sync_with_config_portal", default: false
end
- add_index "cas_identifiers", ["identifier"], :name => "index_cas_identifiers_on_identifier", :unique => true
+ add_index "cas_identifiers", ["identifier"], name: "index_cas_identifiers_on_identifier", unique: true, using: :btree
- create_table "cas_managements", :force => true do |t|
+ create_table "cas_managements", force: true do |t|
t.string "first_name"
t.string "last_name"
t.string "email"
@@ -1301,21 +1306,21 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "cas_managements", ["association_id", "identifier"], :name => "index_cas_managements_on_association_id_and_identifier"
- add_index "cas_managements", ["association_id"], :name => "index_cas_managements_on_association_id"
- add_index "cas_managements", ["identifier"], :name => "index_cas_managements_on_identifier"
+ add_index "cas_managements", ["association_id", "identifier"], name: "index_cas_managements_on_association_id_and_identifier", using: :btree
+ add_index "cas_managements", ["association_id"], name: "index_cas_managements_on_association_id", using: :btree
+ add_index "cas_managements", ["identifier"], name: "index_cas_managements_on_identifier", using: :btree
- create_table "cas_splashes", :force => true do |t|
+ create_table "cas_splashes", force: true do |t|
t.integer "association_id"
t.integer "splash_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "cas_splashes", ["association_id"], :name => "index_cas_splashes_on_association_id"
- add_index "cas_splashes", ["splash_id"], :name => "index_cas_splashes_on_splash_id"
+ add_index "cas_splashes", ["association_id"], name: "index_cas_splashes_on_association_id", using: :btree
+ add_index "cas_splashes", ["splash_id"], name: "index_cas_splashes_on_splash_id", using: :btree
- create_table "certifications", :force => true do |t|
+ create_table "certifications", force: true do |t|
t.integer "certification_type"
t.string "number"
t.string "organization"
@@ -1341,14 +1346,14 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "organization_4"
t.boolean "current"
t.string "keypath"
- t.boolean "most_important", :default => false
+ t.boolean "most_important", default: false
end
- add_index "certifications", ["applicant_id"], :name => "index_certifications_on_applicant_id"
- add_index "certifications", ["identifier"], :name => "index_certifications_on_identifier"
- add_index "certifications", ["user_entered_type"], :name => "index_certifications_on_type"
+ add_index "certifications", ["applicant_id"], name: "index_certifications_on_applicant_id", using: :btree
+ add_index "certifications", ["identifier"], name: "index_certifications_on_identifier", using: :btree
+ add_index "certifications", ["user_entered_type"], name: "index_certifications_on_type", using: :btree
- create_table "change_requests", :force => true do |t|
+ create_table "change_requests", force: true do |t|
t.integer "requested_object_id"
t.string "requested_object_type"
t.text "change_requested"
@@ -1359,31 +1364,31 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "change_requests", ["requested_object_id"], :name => "index_change_requests_on_requested_object_id"
- add_index "change_requests", ["user_identity_requesting_id"], :name => "index_change_requests_on_user_identity_requesting_id"
+ add_index "change_requests", ["requested_object_id"], name: "index_change_requests_on_requested_object_id", using: :btree
+ add_index "change_requests", ["user_identity_requesting_id"], name: "index_change_requests_on_user_identity_requesting_id", using: :btree
- create_table "citizenship_statuses", :force => true do |t|
+ create_table "citizenship_statuses", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "permanent", :default => false, :null => false
+ t.boolean "permanent", default: false, null: false
end
- add_index "citizenship_statuses", ["association_id", "identifier"], :name => "index_citizenship_statuses_on_association_id_and_identifier"
- add_index "citizenship_statuses", ["association_id"], :name => "index_citizenship_statuses_on_association_id"
- add_index "citizenship_statuses", ["identifier"], :name => "index_citizenship_statuses_on_identifier"
+ add_index "citizenship_statuses", ["association_id", "identifier"], name: "index_citizenship_statuses_on_association_id_and_identifier", using: :btree
+ add_index "citizenship_statuses", ["association_id"], name: "index_citizenship_statuses_on_association_id", using: :btree
+ add_index "citizenship_statuses", ["identifier"], name: "index_citizenship_statuses_on_identifier", using: :btree
- create_table "classifications_gpa_templates", :force => true do |t|
+ create_table "classifications_gpa_templates", force: true do |t|
t.integer "classification_id"
t.integer "gpa_template_id"
end
- add_index "classifications_gpa_templates", ["classification_id"], :name => "index_classifications_gpa_templates_on_classification_id"
- add_index "classifications_gpa_templates", ["gpa_template_id"], :name => "index_classifications_gpa_templates_on_gpa_template_id"
+ add_index "classifications_gpa_templates", ["classification_id"], name: "index_classifications_gpa_templates_on_classification_id", using: :btree
+ add_index "classifications_gpa_templates", ["gpa_template_id"], name: "index_classifications_gpa_templates_on_gpa_template_id", using: :btree
- create_table "clauses", :force => true do |t|
+ create_table "clauses", force: true do |t|
t.integer "field_id"
t.integer "list_id"
t.integer "field_operator_id"
@@ -1392,11 +1397,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "clauses", ["field_id"], :name => "index_clauses_on_field_id"
- add_index "clauses", ["field_operator_id"], :name => "index_clauses_on_field_operator_id"
- add_index "clauses", ["list_id"], :name => "index_clauses_on_list_id"
+ add_index "clauses", ["field_id"], name: "index_clauses_on_field_id", using: :btree
+ add_index "clauses", ["field_operator_id"], name: "index_clauses_on_field_operator_id", using: :btree
+ add_index "clauses", ["list_id"], name: "index_clauses_on_list_id", using: :btree
- create_table "college_attendeds", :force => true do |t|
+ create_table "college_attendeds", force: true do |t|
t.integer "identifier"
t.integer "college_id"
t.date "start_date"
@@ -1429,8 +1434,8 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "overall_gpa_range"
t.string "overall_ranking"
t.boolean "no_rank_available"
- t.decimal "credit_hours", :precision => 4, :scale => 1
- t.decimal "gpa", :precision => 3, :scale => 2
+ t.decimal "credit_hours", precision: 4, scale: 1
+ t.decimal "gpa", precision: 3, scale: 2
t.boolean "transcript_evaluated"
t.boolean "transcript_exception"
t.string "transcript_explanation"
@@ -1441,9 +1446,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "unlisted_city"
t.boolean "instructed_in_english"
t.boolean "graduate_college_primary_attended"
- t.decimal "best_result_gpa", :precision => 6, :scale => 2
- t.decimal "comprehensive_gpa", :precision => 6, :scale => 2
- t.decimal "wes_total_gpa", :precision => 6, :scale => 2
+ t.decimal "best_result_gpa", precision: 6, scale: 2
+ t.decimal "comprehensive_gpa", precision: 6, scale: 2
+ t.decimal "wes_total_gpa", precision: 6, scale: 2
t.integer "pharmacy_degree_id"
t.integer "highest_degree_id"
t.string "highest_degree_other"
@@ -1454,17 +1459,17 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "county_urban_rural_id"
end
- add_index "college_attendeds", ["academic_year_id"], :name => "index_college_attendeds_on_academic_year_id"
- add_index "college_attendeds", ["applicant_id"], :name => "index_college_attendeds_on_applicant_id"
- add_index "college_attendeds", ["cas_answer_set_id"], :name => "index_college_attendeds_on_cas_answer_set_id"
- add_index "college_attendeds", ["college_id"], :name => "index_college_attendeds_on_college_id"
- add_index "college_attendeds", ["county_id"], :name => "index_college_attendeds_on_county_id"
- add_index "college_attendeds", ["dental_degree_id"], :name => "index_college_attendeds_on_dental_degree_id"
- add_index "college_attendeds", ["identifier"], :name => "index_college_attendeds_on_identifier"
- add_index "college_attendeds", ["school_type_id"], :name => "index_college_attendeds_on_school_type_id"
- add_index "college_attendeds", ["type"], :name => "index_college_attendeds_on_type"
+ add_index "college_attendeds", ["academic_year_id"], name: "index_college_attendeds_on_academic_year_id", using: :btree
+ add_index "college_attendeds", ["applicant_id"], name: "index_college_attendeds_on_applicant_id", using: :btree
+ add_index "college_attendeds", ["cas_answer_set_id"], name: "index_college_attendeds_on_cas_answer_set_id", using: :btree
+ add_index "college_attendeds", ["college_id"], name: "index_college_attendeds_on_college_id", using: :btree
+ add_index "college_attendeds", ["county_id"], name: "index_college_attendeds_on_county_id", using: :btree
+ add_index "college_attendeds", ["dental_degree_id"], name: "index_college_attendeds_on_dental_degree_id", using: :btree
+ add_index "college_attendeds", ["identifier"], name: "index_college_attendeds_on_identifier", using: :btree
+ add_index "college_attendeds", ["school_type_id"], name: "index_college_attendeds_on_school_type_id", using: :btree
+ add_index "college_attendeds", ["type"], name: "index_college_attendeds_on_type", using: :btree
- create_table "college_bases", :force => true do |t|
+ create_table "college_bases", force: true do |t|
t.string "name"
t.string "identifier"
t.string "state"
@@ -1482,14 +1487,14 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "regionally_accredited_id"
end
- add_index "college_bases", ["association_id", "identifier"], :name => "index_college_bases_on_association_id_and_identifier"
- add_index "college_bases", ["association_id", "master_college_id"], :name => "index_college_bases_on_association_id_and_master_college_id", :unique => true
- add_index "college_bases", ["association_id"], :name => "index_college_bases_on_association_id"
- add_index "college_bases", ["identifier"], :name => "index_colleges_on_identifier"
- add_index "college_bases", ["mdb_code"], :name => "index_colleges_on_mdb_code"
- add_index "college_bases", ["type"], :name => "index_college_bases_on_type"
+ add_index "college_bases", ["association_id", "identifier"], name: "index_college_bases_on_association_id_and_identifier", using: :btree
+ add_index "college_bases", ["association_id", "master_college_id"], name: "index_college_bases_on_association_id_and_master_college_id", unique: true, using: :btree
+ add_index "college_bases", ["association_id"], name: "index_college_bases_on_association_id", using: :btree
+ add_index "college_bases", ["identifier"], name: "index_colleges_on_identifier", using: :btree
+ add_index "college_bases", ["mdb_code"], name: "index_colleges_on_mdb_code", using: :btree
+ add_index "college_bases", ["type"], name: "index_college_bases_on_type", using: :btree
- create_table "color_maps", :force => true do |t|
+ create_table "color_maps", force: true do |t|
t.string "foreground"
t.string "background"
t.integer "position"
@@ -1497,14 +1502,14 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "column_grouping_types", :force => true do |t|
+ create_table "column_grouping_types", force: true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
t.string "identifier"
end
- create_table "combined_degrees", :force => true do |t|
+ create_table "combined_degrees", force: true do |t|
t.integer "applicant_id"
t.integer "identifier"
t.string "name"
@@ -1514,34 +1519,34 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "graduate_program_id"
end
- add_index "combined_degrees", ["program_id"], :name => "index_combined_degrees_on_program_id"
+ add_index "combined_degrees", ["program_id"], name: "index_combined_degrees_on_program_id", using: :btree
- create_table "competencies", :force => true do |t|
- t.integer "competency_category_id", :null => false
- t.string "name", :null => false
- t.string "identifier", :null => false
- t.integer "minimum_hours", :null => false
+ create_table "competencies", force: true do |t|
+ t.integer "competency_category_id", null: false
+ t.string "name", null: false
+ t.string "identifier", null: false
+ t.integer "minimum_hours", null: false
t.integer "order"
- t.boolean "loaded_from_external_source", :default => false, :null => false
+ t.boolean "loaded_from_external_source", default: false, null: false
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "competencies", ["competency_category_id", "identifier"], :name => "index_competencies_on_competency_category_id_and_identifier", :unique => true
- add_index "competencies", ["competency_category_id"], :name => "index_competencies_on_competency_category_id"
+ add_index "competencies", ["competency_category_id", "identifier"], name: "index_competencies_on_competency_category_id_and_identifier", unique: true, using: :btree
+ add_index "competencies", ["competency_category_id"], name: "index_competencies_on_competency_category_id", using: :btree
- create_table "competency_categories", :force => true do |t|
- t.integer "program_id", :null => false
- t.string "name", :null => false
- t.string "identifier", :null => false
+ create_table "competency_categories", force: true do |t|
+ t.integer "program_id", null: false
+ t.string "name", null: false
+ t.string "identifier", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "competency_categories", ["identifier"], :name => "index_competency_categories_on_identifier", :unique => true
- add_index "competency_categories", ["program_id"], :name => "index_competency_categories_on_program_id"
+ add_index "competency_categories", ["identifier"], name: "index_competency_categories_on_identifier", unique: true, using: :btree
+ add_index "competency_categories", ["program_id"], name: "index_competency_categories_on_program_id", using: :btree
- create_table "component_list_operators", :force => true do |t|
+ create_table "component_list_operators", force: true do |t|
t.string "name"
t.string "operator"
t.string "sql"
@@ -1549,7 +1554,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "component_lists", :force => true do |t|
+ create_table "component_lists", force: true do |t|
t.integer "composite_list_id"
t.integer "list_id"
t.integer "component_list_operator_id"
@@ -1557,11 +1562,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "component_lists", ["component_list_operator_id"], :name => "index_component_lists_on_component_list_operator_id"
- add_index "component_lists", ["composite_list_id"], :name => "index_component_lists_on_composite_list_id"
- add_index "component_lists", ["list_id"], :name => "index_component_lists_on_list_id"
+ add_index "component_lists", ["component_list_operator_id"], name: "index_component_lists_on_component_list_operator_id", using: :btree
+ add_index "component_lists", ["composite_list_id"], name: "index_component_lists_on_composite_list_id", using: :btree
+ add_index "component_lists", ["list_id"], name: "index_component_lists_on_list_id", using: :btree
- create_table "config_portal_sync_logs", :force => true do |t|
+ create_table "config_portal_sync_logs", force: true do |t|
t.datetime "start_time"
t.datetime "end_time"
t.boolean "successful"
@@ -1572,7 +1577,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.text "error"
end
- create_table "contact_preferences", :force => true do |t|
+ create_table "contact_preferences", force: true do |t|
t.string "type"
t.string "name"
t.string "code"
@@ -1582,20 +1587,20 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "contact_preferences", ["association_id", "identifier"], :name => "index_contact_preferences_on_association_id_and_identifier"
- add_index "contact_preferences", ["association_id"], :name => "index_contact_preferences_on_association_id"
- add_index "contact_preferences", ["identifier"], :name => "index_contact_preferences_on_identifier"
- add_index "contact_preferences", ["type"], :name => "index_contact_preferences_on_type"
+ add_index "contact_preferences", ["association_id", "identifier"], name: "index_contact_preferences_on_association_id_and_identifier", using: :btree
+ add_index "contact_preferences", ["association_id"], name: "index_contact_preferences_on_association_id", using: :btree
+ add_index "contact_preferences", ["identifier"], name: "index_contact_preferences_on_identifier", using: :btree
+ add_index "contact_preferences", ["type"], name: "index_contact_preferences_on_type", using: :btree
- create_table "contact_types", :force => true do |t|
+ create_table "contact_types", force: true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "contact_types", ["name"], :name => "index_contact_types_on_name"
+ add_index "contact_types", ["name"], name: "index_contact_types_on_name", using: :btree
- create_table "contacts", :force => true do |t|
+ create_table "contacts", force: true do |t|
t.integer "owner_id"
t.string "owner_type"
t.string "address1"
@@ -1648,11 +1653,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "text_authorization"
end
- add_index "contacts", ["applicant_id"], :name => "index_contacts_on_applicant_id"
- add_index "contacts", ["contact_type_id"], :name => "index_contacts_on_contact_type_id"
- add_index "contacts", ["owner_id", "owner_type"], :name => "index_contacts_on_owner_type_and_owner_id"
+ add_index "contacts", ["applicant_id"], name: "index_contacts_on_applicant_id", using: :btree
+ add_index "contacts", ["contact_type_id"], name: "index_contacts_on_contact_type_id", using: :btree
+ add_index "contacts", ["owner_id", "owner_type"], name: "index_contacts_on_owner_type_and_owner_id", using: :btree
- create_table "counties", :force => true do |t|
+ create_table "counties", force: true do |t|
t.integer "identifier"
t.string "name"
t.string "abbreviation"
@@ -1661,11 +1666,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "association_id"
end
- add_index "counties", ["association_id", "identifier"], :name => "index_counties_on_association_id_and_identifier"
- add_index "counties", ["association_id"], :name => "index_counties_on_association_id"
- add_index "counties", ["identifier"], :name => "index_counties_on_identifier"
+ add_index "counties", ["association_id", "identifier"], name: "index_counties_on_association_id_and_identifier", using: :btree
+ add_index "counties", ["association_id"], name: "index_counties_on_association_id", using: :btree
+ add_index "counties", ["identifier"], name: "index_counties_on_identifier", using: :btree
- create_table "countries", :force => true do |t|
+ create_table "countries", force: true do |t|
t.string "identifier"
t.string "name"
t.string "abbreviation"
@@ -1676,13 +1681,13 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "iso_3_code"
end
- add_index "countries", ["abbreviation", "association_id"], :name => "index_countries_on_abbreviation_and_association_id", :unique => true
- add_index "countries", ["association_id", "identifier"], :name => "index_countries_on_association_id_and_identifier"
- add_index "countries", ["association_id"], :name => "index_countries_on_association_id"
- add_index "countries", ["identifier"], :name => "index_countries_on_identifier"
- add_index "countries", ["name"], :name => "index_countries_on_name"
+ add_index "countries", ["abbreviation", "association_id"], name: "index_countries_on_abbreviation_and_association_id", unique: true, using: :btree
+ add_index "countries", ["association_id", "identifier"], name: "index_countries_on_association_id_and_identifier", using: :btree
+ add_index "countries", ["association_id"], name: "index_countries_on_association_id", using: :btree
+ add_index "countries", ["identifier"], name: "index_countries_on_identifier", using: :btree
+ add_index "countries", ["name"], name: "index_countries_on_name", using: :btree
- create_table "county_indicators", :force => true do |t|
+ create_table "county_indicators", force: true do |t|
t.integer "county_id"
t.string "county_abbreviation"
t.boolean "rural"
@@ -1695,22 +1700,22 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "medically_underserved_lookup_id"
end
- create_table "coupons", :force => true do |t|
- t.integer "payment_transaction_id", :null => false
- t.integer "applicant_id", :null => false
- t.string "identifier", :null => false
- t.string "code", :null => false
- t.decimal "amount", :precision => 8, :scale => 2, :default => 0.0, :null => false
- t.datetime "redeemed_at", :null => false
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ create_table "coupons", force: true do |t|
+ t.integer "payment_transaction_id", null: false
+ t.integer "applicant_id", null: false
+ t.string "identifier", null: false
+ t.string "code", null: false
+ t.decimal "amount", precision: 8, scale: 2, default: 0.0, null: false
+ t.datetime "redeemed_at", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "coupons", ["applicant_id"], :name => "index_coupons_on_applicant_id"
- add_index "coupons", ["identifier"], :name => "index_coupons_on_identifier"
- add_index "coupons", ["payment_transaction_id"], :name => "index_coupons_on_payment_transaction_id"
+ add_index "coupons", ["applicant_id"], name: "index_coupons_on_applicant_id", using: :btree
+ add_index "coupons", ["identifier"], name: "index_coupons_on_identifier", using: :btree
+ add_index "coupons", ["payment_transaction_id"], name: "index_coupons_on_payment_transaction_id", using: :btree
- create_table "course_classifications", :force => true do |t|
+ create_table "course_classifications", force: true do |t|
t.integer "applicant_id"
t.integer "course_id"
t.integer "classification_id"
@@ -1718,30 +1723,30 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "course_classifications", ["applicant_id"], :name => "index_course_classifications_on_applicant_id"
- add_index "course_classifications", ["classification_id"], :name => "index_course_classifications_on_classification_id"
- add_index "course_classifications", ["course_id"], :name => "index_course_classifications_on_course_id"
+ add_index "course_classifications", ["applicant_id"], name: "index_course_classifications_on_applicant_id", using: :btree
+ add_index "course_classifications", ["classification_id"], name: "index_course_classifications_on_classification_id", using: :btree
+ add_index "course_classifications", ["course_id"], name: "index_course_classifications_on_course_id", using: :btree
- create_table "courses", :force => true do |t|
+ create_table "courses", force: true do |t|
t.string "name"
t.string "grade"
t.string "adjusted_grade"
- t.integer "applicant_id", :null => false
+ t.integer "applicant_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.string "title"
t.string "prefix"
t.string "level"
- t.decimal "credits", :precision => 7, :scale => 4
+ t.decimal "credits", precision: 7, scale: 4
t.string "course_type_id"
t.integer "ap_score"
t.boolean "verified"
t.string "verified_grade"
- t.decimal "verified_credits", :precision => 6, :scale => 4
+ t.decimal "verified_credits", precision: 6, scale: 4
t.integer "association_id"
t.integer "subject_id"
t.string "subject_code"
- t.decimal "numeric_grade", :precision => 3, :scale => 2
+ t.decimal "numeric_grade", precision: 3, scale: 2
t.integer "college_id"
t.string "year"
t.integer "academic_status_id"
@@ -1749,51 +1754,51 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "academic_session_id"
t.string "application_grade"
t.integer "classification_id"
- t.decimal "verified_numeric_grade", :precision => 3, :scale => 2
+ t.decimal "verified_numeric_grade", precision: 3, scale: 2
t.integer "recommended_prerequisite_id"
t.integer "required_prerequisite_id"
t.integer "test_score"
- t.decimal "semester_hours", :precision => 7, :scale => 4
+ t.decimal "semester_hours", precision: 7, scale: 4
t.integer "verification_symbol_code_id"
t.string "course_area"
t.string "course_source"
t.boolean "transferable"
end
- add_index "courses", ["academic_session_id"], :name => "index_courses_on_academic_session_id"
- add_index "courses", ["applicant_id"], :name => "index_courses_on_applicant_id"
- add_index "courses", ["association_id", "identifier"], :name => "index_courses_on_association_id_and_identifier"
- add_index "courses", ["association_id"], :name => "index_courses_on_association_id"
- add_index "courses", ["classification_id"], :name => "index_courses_on_classification_id"
- add_index "courses", ["identifier"], :name => "index_courses_on_identifier"
- add_index "courses", ["subject_id"], :name => "index_courses_on_subject_id"
+ add_index "courses", ["academic_session_id"], name: "index_courses_on_academic_session_id", using: :btree
+ add_index "courses", ["applicant_id"], name: "index_courses_on_applicant_id", using: :btree
+ add_index "courses", ["association_id", "identifier"], name: "index_courses_on_association_id_and_identifier", using: :btree
+ add_index "courses", ["association_id"], name: "index_courses_on_association_id", using: :btree
+ add_index "courses", ["classification_id"], name: "index_courses_on_classification_id", using: :btree
+ add_index "courses", ["identifier"], name: "index_courses_on_identifier", using: :btree
+ add_index "courses", ["subject_id"], name: "index_courses_on_subject_id", using: :btree
- create_table "courses_local_gpas", :id => false, :force => true do |t|
- t.integer "local_gpa_id", :null => false
- t.integer "course_id", :null => false
+ create_table "courses_local_gpas", id: false, force: true do |t|
+ t.integer "local_gpa_id", null: false
+ t.integer "course_id", null: false
end
- add_index "courses_local_gpas", ["course_id"], :name => "index_courses_local_gpas_on_course_id"
- add_index "courses_local_gpas", ["local_gpa_id"], :name => "index_courses_local_gpas_on_local_gpa_id"
+ add_index "courses_local_gpas", ["course_id"], name: "index_courses_local_gpas_on_course_id", using: :btree
+ add_index "courses_local_gpas", ["local_gpa_id"], name: "index_courses_local_gpas_on_local_gpa_id", using: :btree
- create_table "credit_hour_inclusion_types", :force => true do |t|
+ create_table "credit_hour_inclusion_types", force: true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "credit_inclusion_types", :force => true do |t|
+ create_table "credit_inclusion_types", force: true do |t|
t.string "name"
t.string "text"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "criteria", :force => true do |t|
+ create_table "criteria", force: true do |t|
t.integer "requirement_id"
- t.string "description", :null => false
- t.decimal "gpa", :precision => 3, :scale => 2
- t.decimal "credits", :precision => 6, :scale => 3
+ t.string "description", null: false
+ t.decimal "gpa", precision: 3, scale: 2
+ t.decimal "credits", precision: 6, scale: 3
t.datetime "created_at"
t.datetime "updated_at"
t.integer "order"
@@ -1806,9 +1811,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "identifier"
end
- add_index "criteria", ["requirement_id"], :name => "index_criteria_on_requirement_id"
+ add_index "criteria", ["requirement_id"], name: "index_criteria_on_requirement_id", using: :btree
- create_table "criteria_comments", :force => true do |t|
+ create_table "criteria_comments", force: true do |t|
t.string "text"
t.integer "criterion_id"
t.integer "order"
@@ -1817,31 +1822,31 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "criteria_comments", ["criterion_id"], :name => "index_criteria_comments_on_criterion_id"
+ add_index "criteria_comments", ["criterion_id"], name: "index_criteria_comments_on_criterion_id", using: :btree
- create_table "cumulative_gpa_by_transcripts", :force => true do |t|
- t.decimal "total_credit_hours", :precision => 6, :scale => 2
- t.decimal "cumulative_gpa", :precision => 3, :scale => 2
- t.decimal "total_quality_points", :precision => 6, :scale => 2
+ create_table "cumulative_gpa_by_transcripts", force: true do |t|
+ t.decimal "total_credit_hours", precision: 6, scale: 2
+ t.decimal "cumulative_gpa", precision: 3, scale: 2
+ t.decimal "total_quality_points", precision: 6, scale: 2
t.integer "applicant_id"
t.string "type"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "cumulative_gpa_by_transcripts", ["applicant_id"], :name => "index_cumulative_gpa_by_transcripts_on_applicant_id"
- add_index "cumulative_gpa_by_transcripts", ["cumulative_gpa"], :name => "index_cumulative_gpa_by_transcripts_on_cumulative_gpa"
- add_index "cumulative_gpa_by_transcripts", ["total_credit_hours"], :name => "index_cumulative_gpa_by_transcripts_on_total_credit_hours"
- add_index "cumulative_gpa_by_transcripts", ["total_quality_points"], :name => "index_cumulative_gpa_by_transcripts_on_total_quality_points"
- add_index "cumulative_gpa_by_transcripts", ["type"], :name => "index_cumulative_gpa_by_transcripts_on_type"
+ add_index "cumulative_gpa_by_transcripts", ["applicant_id"], name: "index_cumulative_gpa_by_transcripts_on_applicant_id", using: :btree
+ add_index "cumulative_gpa_by_transcripts", ["cumulative_gpa"], name: "index_cumulative_gpa_by_transcripts_on_cumulative_gpa", using: :btree
+ add_index "cumulative_gpa_by_transcripts", ["total_credit_hours"], name: "index_cumulative_gpa_by_transcripts_on_total_credit_hours", using: :btree
+ add_index "cumulative_gpa_by_transcripts", ["total_quality_points"], name: "index_cumulative_gpa_by_transcripts_on_total_quality_points", using: :btree
+ add_index "cumulative_gpa_by_transcripts", ["type"], name: "index_cumulative_gpa_by_transcripts_on_type", using: :btree
- create_table "custom_choices", :force => true do |t|
+ create_table "custom_choices", force: true do |t|
t.string "text"
t.datetime "updated_at"
t.datetime "created_at"
end
- create_table "custom_field_types", :force => true do |t|
+ create_table "custom_field_types", force: true do |t|
t.string "name"
t.string "answer_field"
t.string "display_tag"
@@ -1849,17 +1854,17 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "custom_fields_programs", :force => true do |t|
+ create_table "custom_fields_programs", force: true do |t|
t.integer "program_id"
t.integer "custom_field_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "custom_fields_programs", ["custom_field_id"], :name => "index_custom_fields_programs_on_custom_field_id"
- add_index "custom_fields_programs", ["program_id"], :name => "index_custom_fields_programs_on_program_id"
+ add_index "custom_fields_programs", ["custom_field_id"], name: "index_custom_fields_programs_on_custom_field_id", using: :btree
+ add_index "custom_fields_programs", ["program_id"], name: "index_custom_fields_programs_on_program_id", using: :btree
- create_table "cycles", :force => true do |t|
+ create_table "cycles", force: true do |t|
t.string "name"
t.string "identifier"
t.datetime "created_at"
@@ -1867,7 +1872,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "previous_cycle_id"
end
- create_table "decision_descriptions", :force => true do |t|
+ create_table "decision_descriptions", force: true do |t|
t.text "content"
t.integer "organization_id"
t.integer "decision_id"
@@ -1875,27 +1880,27 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "decision_descriptions", ["organization_id", "decision_id"], :name => "index_decision_descriptions_on_organization_id_and_decision_id", :unique => true
+ add_index "decision_descriptions", ["organization_id", "decision_id"], name: "index_decision_descriptions_on_organization_id_and_decision_id", unique: true, using: :btree
- create_table "decision_program_type_exclusions", :force => true do |t|
- t.integer "decision_id", :null => false
- t.integer "program_type_id", :null => false
+ create_table "decision_program_type_exclusions", force: true do |t|
+ t.integer "decision_id", null: false
+ t.integer "program_type_id", null: false
end
- add_index "decision_program_type_exclusions", ["decision_id", "program_type_id"], :name => "unique_index_decision_program_type_exclusions", :unique => true
+ add_index "decision_program_type_exclusions", ["decision_id", "program_type_id"], name: "unique_index_decision_program_type_exclusions", unique: true, using: :btree
- create_table "decision_rules", :force => true do |t|
- t.integer "base_decision_id", :null => false
- t.integer "transition_decision_id", :null => false
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ create_table "decision_rules", force: true do |t|
+ t.integer "base_decision_id", null: false
+ t.integer "transition_decision_id", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "decision_rules", ["base_decision_id"], :name => "index_decision_rules_on_base_decision_id"
- add_index "decision_rules", ["transition_decision_id"], :name => "index_decision_rules_on_transition_decision_id"
+ add_index "decision_rules", ["base_decision_id"], name: "index_decision_rules_on_base_decision_id", using: :btree
+ add_index "decision_rules", ["transition_decision_id"], name: "index_decision_rules_on_transition_decision_id", using: :btree
- create_table "decisions", :force => true do |t|
- t.integer "association_id", :null => false
+ create_table "decisions", force: true do |t|
+ t.integer "association_id", null: false
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
@@ -1903,20 +1908,20 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "identifier"
t.integer "offer_type_id"
t.boolean "allow_certiphi"
- t.boolean "include_for_my_organization", :default => false
- t.boolean "include_for_competing_organization", :default => false
- t.boolean "include_for_early_decision_acceptance", :default => false
- t.boolean "include_for_hidden_decision", :default => false
- t.boolean "include_for_redirect_eligible", :default => false
- t.boolean "include_for_early_release", :default => false
- t.boolean "transition_from_nil", :default => false, :null => false
+ t.boolean "include_for_my_organization", default: false
+ t.boolean "include_for_competing_organization", default: false
+ t.boolean "include_for_early_decision_acceptance", default: false
+ t.boolean "include_for_hidden_decision", default: false
+ t.boolean "include_for_redirect_eligible", default: false
+ t.boolean "include_for_early_release", default: false
+ t.boolean "transition_from_nil", default: false, null: false
end
- add_index "decisions", ["association_id", "identifier"], :name => "index_decisions_on_association_id_and_identifier"
- add_index "decisions", ["association_id"], :name => "index_decisions_on_association_id"
- add_index "decisions", ["identifier"], :name => "index_decisions_on_identifier"
+ add_index "decisions", ["association_id", "identifier"], name: "index_decisions_on_association_id_and_identifier", using: :btree
+ add_index "decisions", ["association_id"], name: "index_decisions_on_association_id", using: :btree
+ add_index "decisions", ["identifier"], name: "index_decisions_on_identifier", using: :btree
- create_table "degree_bases", :force => true do |t|
+ create_table "degree_bases", force: true do |t|
t.string "name"
t.string "identifier"
t.datetime "created_at"
@@ -1926,12 +1931,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "type"
end
- add_index "degree_bases", ["association_id", "identifier"], :name => "index_degree_bases_on_association_id_and_identifier"
- add_index "degree_bases", ["association_id"], :name => "index_degrees_on_association_id"
- add_index "degree_bases", ["identifier"], :name => "index_degrees_on_identifier"
- add_index "degree_bases", ["type"], :name => "index_degree_bases_on_type"
+ add_index "degree_bases", ["association_id", "identifier"], name: "index_degree_bases_on_association_id_and_identifier", using: :btree
+ add_index "degree_bases", ["association_id"], name: "index_degrees_on_association_id", using: :btree
+ add_index "degree_bases", ["identifier"], name: "index_degrees_on_identifier", using: :btree
+ add_index "degree_bases", ["type"], name: "index_degree_bases_on_type", using: :btree
- create_table "degree_statuses", :force => true do |t|
+ create_table "degree_statuses", force: true do |t|
t.string "name"
t.integer "identifier"
t.datetime "created_at"
@@ -1939,11 +1944,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "association_id"
end
- add_index "degree_statuses", ["association_id", "identifier"], :name => "index_degree_statuses_on_association_id_and_identifier"
- add_index "degree_statuses", ["association_id"], :name => "index_degree_statuses_on_association_id"
- add_index "degree_statuses", ["identifier"], :name => "index_degree_statuses_on_identifier"
+ add_index "degree_statuses", ["association_id", "identifier"], name: "index_degree_statuses_on_association_id_and_identifier", using: :btree
+ add_index "degree_statuses", ["association_id"], name: "index_degree_statuses_on_association_id", using: :btree
+ add_index "degree_statuses", ["identifier"], name: "index_degree_statuses_on_identifier", using: :btree
- create_table "deleted_applicants", :force => true do |t|
+ create_table "deleted_applicants", force: true do |t|
t.integer "applicant_id"
t.string "first_name"
t.string "last_name"
@@ -1954,7 +1959,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "designation_evaluations", :force => true do |t|
+ create_table "designation_evaluations", force: true do |t|
t.integer "program_id"
t.integer "evaluation_id"
t.integer "designation_id"
@@ -1965,25 +1970,25 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "applicant_id"
end
- add_index "designation_evaluations", ["applicant_id"], :name => "index_designation_evaluations_on_applicant_id"
- add_index "designation_evaluations", ["association_id", "identifier"], :name => "index_designation_evaluations_on_association_id_and_identifier"
- add_index "designation_evaluations", ["association_id"], :name => "index_designation_evaluations_on_association_id"
- add_index "designation_evaluations", ["designation_id"], :name => "index_designation_evaluations_on_designation_id"
- add_index "designation_evaluations", ["evaluation_id"], :name => "index_designation_evaluations_on_evaluation_id"
- add_index "designation_evaluations", ["identifier"], :name => "index_designation_evaluations_on_identifier"
- add_index "designation_evaluations", ["program_id"], :name => "index_designation_evaluations_on_program_id"
+ add_index "designation_evaluations", ["applicant_id"], name: "index_designation_evaluations_on_applicant_id", using: :btree
+ add_index "designation_evaluations", ["association_id", "identifier"], name: "index_designation_evaluations_on_association_id_and_identifier", using: :btree
+ add_index "designation_evaluations", ["association_id"], name: "index_designation_evaluations_on_association_id", using: :btree
+ add_index "designation_evaluations", ["designation_id"], name: "index_designation_evaluations_on_designation_id", using: :btree
+ add_index "designation_evaluations", ["evaluation_id"], name: "index_designation_evaluations_on_evaluation_id", using: :btree
+ add_index "designation_evaluations", ["identifier"], name: "index_designation_evaluations_on_identifier", using: :btree
+ add_index "designation_evaluations", ["program_id"], name: "index_designation_evaluations_on_program_id", using: :btree
- create_table "designation_optional_offerings", :force => true do |t|
- t.integer "designation_id", :null => false
- t.integer "optional_offering_id", :null => false
+ create_table "designation_optional_offerings", force: true do |t|
+ t.integer "designation_id", null: false
+ t.integer "optional_offering_id", null: false
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "designation_optional_offerings", ["designation_id"], :name => "index_designation_optional_offerings_on_designation_id"
- add_index "designation_optional_offerings", ["optional_offering_id"], :name => "index_designation_optional_offerings_on_optional_offering_id"
+ add_index "designation_optional_offerings", ["designation_id"], name: "index_designation_optional_offerings_on_designation_id", using: :btree
+ add_index "designation_optional_offerings", ["optional_offering_id"], name: "index_designation_optional_offerings_on_optional_offering_id", using: :btree
- create_table "designations", :force => true do |t|
+ create_table "designations", force: true do |t|
t.integer "identifier"
t.string "school_code"
t.string "school_name"
@@ -2032,7 +2037,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "designation_degree_id"
t.integer "organization_institution_number"
t.integer "campus_id"
- t.boolean "postmatch_consideration", :default => false
+ t.boolean "postmatch_consideration", default: false
t.boolean "all_evaluation_letters_received"
t.string "alternate_program"
t.date "added_date"
@@ -2043,21 +2048,21 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "last_exported_at"
end
- add_index "designations", ["academic_update_status_id"], :name => "index_designations_on_academic_update_status_id"
- add_index "designations", ["accepted_program_type_id"], :name => "index_designations_on_accepted_program_type_id"
- add_index "designations", ["applicant_id", "application_status_id"], :name => "index_designations_on_applicant_id_and_application_status_id"
- add_index "designations", ["applicant_id", "program_id"], :name => "index_designations_on_applicant_id_and_program_id", :unique => true
- add_index "designations", ["applicant_id"], :name => "index_designations_on_applicant_id"
- add_index "designations", ["application_status_id"], :name => "index_designations_on_application_status_id"
- add_index "designations", ["association_id", "identifier"], :name => "index_designations_on_association_id_and_identifier"
- add_index "designations", ["association_id"], :name => "index_designations_on_association_id"
- add_index "designations", ["decision_id"], :name => "index_designations_on_decision_id"
- add_index "designations", ["identifier"], :name => "index_designations_on_identifier"
- add_index "designations", ["local_status_id"], :name => "index_designations_on_local_status_id"
- add_index "designations", ["program_id", "identifier"], :name => "index_designations_on_program_id_and_identifier"
- add_index "designations", ["program_id"], :name => "index_designations_on_program_id"
+ add_index "designations", ["academic_update_status_id"], name: "index_designations_on_academic_update_status_id", using: :btree
+ add_index "designations", ["accepted_program_type_id"], name: "index_designations_on_accepted_program_type_id", using: :btree
+ add_index "designations", ["applicant_id", "application_status_id"], name: "index_designations_on_applicant_id_and_application_status_id", using: :btree
+ add_index "designations", ["applicant_id", "program_id"], name: "index_designations_on_applicant_id_and_program_id", unique: true, using: :btree
+ add_index "designations", ["applicant_id"], name: "index_designations_on_applicant_id", using: :btree
+ add_index "designations", ["application_status_id"], name: "index_designations_on_application_status_id", using: :btree
+ add_index "designations", ["association_id", "identifier"], name: "index_designations_on_association_id_and_identifier", using: :btree
+ add_index "designations", ["association_id"], name: "index_designations_on_association_id", using: :btree
+ add_index "designations", ["decision_id"], name: "index_designations_on_decision_id", using: :btree
+ add_index "designations", ["identifier"], name: "index_designations_on_identifier", using: :btree
+ add_index "designations", ["local_status_id"], name: "index_designations_on_local_status_id", using: :btree
+ add_index "designations", ["program_id", "identifier"], name: "index_designations_on_program_id_and_identifier", using: :btree
+ add_index "designations", ["program_id"], name: "index_designations_on_program_id", using: :btree
- create_table "details", :force => true do |t|
+ create_table "details", force: true do |t|
t.integer "applicant_id"
t.datetime "created_at"
t.datetime "updated_at"
@@ -2144,7 +2149,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "alt_middle_name"
t.string "alt_middle_name2"
t.string "alt_last_name2"
- t.decimal "canadian_residence_years", :precision => 4, :scale => 1
+ t.decimal "canadian_residence_years", precision: 4, scale: 1
t.integer "canadian_visa_type_id"
t.string "canadian_visa_issuing_city"
t.string "country_of_visa_issue"
@@ -2197,13 +2202,13 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "household_income_id"
t.integer "household_size"
t.integer "paid_employment_prior_eighteen_id"
- t.decimal "post_secondary_academic_scholarship", :precision => 6, :scale => 2
- t.decimal "post_secondary_applicant_contribution", :precision => 6, :scale => 2
- t.decimal "post_secondary_family_contribution", :precision => 6, :scale => 2
- t.decimal "post_secondary_need_based_scholarship", :precision => 6, :scale => 2
- t.decimal "post_secondary_other", :precision => 6, :scale => 2
- t.decimal "post_secondary_other_loan", :precision => 6, :scale => 2
- t.decimal "post_secondary_student_loan", :precision => 6, :scale => 2
+ t.decimal "post_secondary_academic_scholarship", precision: 6, scale: 2
+ t.decimal "post_secondary_applicant_contribution", precision: 6, scale: 2
+ t.decimal "post_secondary_family_contribution", precision: 6, scale: 2
+ t.decimal "post_secondary_need_based_scholarship", precision: 6, scale: 2
+ t.decimal "post_secondary_other", precision: 6, scale: 2
+ t.decimal "post_secondary_other_loan", precision: 6, scale: 2
+ t.decimal "post_secondary_student_loan", precision: 6, scale: 2
t.boolean "military_veteran"
t.boolean "education_interrupted_by_military"
t.text "manual_dexterity"
@@ -2300,49 +2305,49 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.boolean "accepted_health_professions_after_academic_reassessment"
t.integer "first_generation_indicator_id"
t.string "program_plans"
- t.boolean "redirect_eligible", :default => false
- end
-
- add_index "details", ["additional_language_id"], :name => "index_details_on_additional_language_id"
- add_index "details", ["applicant_id"], :name => "index_details_on_applicant_id"
- add_index "details", ["canadian_visa_type_id"], :name => "index_details_on_canadian_visa_type_id"
- add_index "details", ["certification_ecfmg_id"], :name => "index_details_on_certification_ecfmg_id"
- add_index "details", ["citizenship_country_id"], :name => "index_details_on_citizenship_country_id"
- add_index "details", ["citizenship_status_id"], :name => "index_details_on_citizenship_status_id"
- add_index "details", ["country_of_birth_id"], :name => "index_details_on_country_of_birth_id"
- add_index "details", ["country_of_residence_id"], :name => "index_details_on_country_of_residence_id"
- add_index "details", ["county_of_birth_id"], :name => "index_details_on_county_of_birth_id"
- add_index "details", ["county_of_residence_id"], :name => "index_details_on_county_of_residence_id"
- add_index "details", ["first_heard_education_id"], :name => "index_details_on_first_heard_education_id"
- add_index "details", ["gender_id"], :name => "index_details_on_gender_id"
- add_index "details", ["highest_degree_earned_id"], :name => "index_details_on_highest_degree_earned_id"
- add_index "details", ["influential_factor_id"], :name => "index_details_on_influential_factor_id"
- add_index "details", ["military_status_extended_id"], :name => "index_details_on_military_status_extended_id"
- add_index "details", ["military_status_id"], :name => "index_details_on_military_status_id"
- add_index "details", ["phone_type_preference_id"], :name => "index_details_on_phone_type_preference_id"
- add_index "details", ["preferred_address_type_id"], :name => "index_details_on_preferred_address_type_id"
- add_index "details", ["previous_state_of_residence_id"], :name => "index_details_on_previous_state_of_residence_id"
- add_index "details", ["previously_enrolled_specify_id"], :name => "index_details_on_previously_enrolled_specify_id"
- add_index "details", ["previously_school_attended_id"], :name => "index_details_on_previously_school_attended_id"
- add_index "details", ["second_citizenship_country_id"], :name => "index_details_on_second_citizenship_country_id"
- add_index "details", ["state_of_birth_id"], :name => "index_details_on_state_of_birth_id"
- add_index "details", ["state_of_residence_id"], :name => "index_details_on_state_of_residence_id"
- add_index "details", ["student_status_id"], :name => "index_details_on_student_status_id"
- add_index "details", ["visa_type_id"], :name => "index_details_on_visa_type_id"
-
- create_table "diplomas", :force => true do |t|
+ t.boolean "redirect_eligible", default: false
+ end
+
+ add_index "details", ["additional_language_id"], name: "index_details_on_additional_language_id", using: :btree
+ add_index "details", ["applicant_id"], name: "index_details_on_applicant_id", using: :btree
+ add_index "details", ["canadian_visa_type_id"], name: "index_details_on_canadian_visa_type_id", using: :btree
+ add_index "details", ["certification_ecfmg_id"], name: "index_details_on_certification_ecfmg_id", using: :btree
+ add_index "details", ["citizenship_country_id"], name: "index_details_on_citizenship_country_id", using: :btree
+ add_index "details", ["citizenship_status_id"], name: "index_details_on_citizenship_status_id", using: :btree
+ add_index "details", ["country_of_birth_id"], name: "index_details_on_country_of_birth_id", using: :btree
+ add_index "details", ["country_of_residence_id"], name: "index_details_on_country_of_residence_id", using: :btree
+ add_index "details", ["county_of_birth_id"], name: "index_details_on_county_of_birth_id", using: :btree
+ add_index "details", ["county_of_residence_id"], name: "index_details_on_county_of_residence_id", using: :btree
+ add_index "details", ["first_heard_education_id"], name: "index_details_on_first_heard_education_id", using: :btree
+ add_index "details", ["gender_id"], name: "index_details_on_gender_id", using: :btree
+ add_index "details", ["highest_degree_earned_id"], name: "index_details_on_highest_degree_earned_id", using: :btree
+ add_index "details", ["influential_factor_id"], name: "index_details_on_influential_factor_id", using: :btree
+ add_index "details", ["military_status_extended_id"], name: "index_details_on_military_status_extended_id", using: :btree
+ add_index "details", ["military_status_id"], name: "index_details_on_military_status_id", using: :btree
+ add_index "details", ["phone_type_preference_id"], name: "index_details_on_phone_type_preference_id", using: :btree
+ add_index "details", ["preferred_address_type_id"], name: "index_details_on_preferred_address_type_id", using: :btree
+ add_index "details", ["previous_state_of_residence_id"], name: "index_details_on_previous_state_of_residence_id", using: :btree
+ add_index "details", ["previously_enrolled_specify_id"], name: "index_details_on_previously_enrolled_specify_id", using: :btree
+ add_index "details", ["previously_school_attended_id"], name: "index_details_on_previously_school_attended_id", using: :btree
+ add_index "details", ["second_citizenship_country_id"], name: "index_details_on_second_citizenship_country_id", using: :btree
+ add_index "details", ["state_of_birth_id"], name: "index_details_on_state_of_birth_id", using: :btree
+ add_index "details", ["state_of_residence_id"], name: "index_details_on_state_of_residence_id", using: :btree
+ add_index "details", ["student_status_id"], name: "index_details_on_student_status_id", using: :btree
+ add_index "details", ["visa_type_id"], name: "index_details_on_visa_type_id", using: :btree
+
+ create_table "diplomas", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
- t.date "date_completed", :null => false
- t.string "organization", :null => false
- t.string "type", :null => false
+ t.date "date_completed", null: false
+ t.string "organization", null: false
+ t.string "type", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "diplomas", ["applicant_id"], :name => "index_diplomas_on_applicant_id"
+ add_index "diplomas", ["applicant_id"], name: "index_diplomas_on_applicant_id", using: :btree
- create_table "document_sources", :force => true do |t|
+ create_table "document_sources", force: true do |t|
t.integer "association_id"
t.string "cas_year"
t.string "document_type"
@@ -2352,9 +2357,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "document_sources", ["association_id"], :name => "index_document_sources_on_association_id"
+ add_index "document_sources", ["association_id"], name: "index_document_sources_on_association_id", using: :btree
- create_table "documents_mailing_sources", :force => true do |t|
+ create_table "documents_mailing_sources", force: true do |t|
t.integer "association_id"
t.string "cas_year"
t.string "url_format"
@@ -2362,9 +2367,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "documents_mailing_sources", ["association_id"], :name => "index_documents_mailing_sources_on_association_id"
+ add_index "documents_mailing_sources", ["association_id"], name: "index_documents_mailing_sources_on_association_id", using: :btree
- create_table "email_address_preferences", :force => true do |t|
+ create_table "email_address_preferences", force: true do |t|
t.boolean "default"
t.string "identifier"
t.string "name"
@@ -2372,19 +2377,19 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "email_address_preferences", ["identifier"], :name => "index_email_address_preferences_on_identifier"
+ add_index "email_address_preferences", ["identifier"], name: "index_email_address_preferences_on_identifier", using: :btree
- create_table "email_address_programs", :force => true do |t|
+ create_table "email_address_programs", force: true do |t|
t.integer "program_id"
t.integer "address_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "email_address_programs", ["address_id"], :name => "index_email_address_programs_on_address_id"
- add_index "email_address_programs", ["program_id"], :name => "index_email_address_programs_on_program_id"
+ add_index "email_address_programs", ["address_id"], name: "index_email_address_programs_on_address_id", using: :btree
+ add_index "email_address_programs", ["program_id"], name: "index_email_address_programs_on_program_id", using: :btree
- create_table "email_addresses", :force => true do |t|
+ create_table "email_addresses", force: true do |t|
t.integer "bcc_preference_id"
t.string "description"
t.string "email"
@@ -2393,17 +2398,17 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "owner_type"
t.integer "reply_to_preference_id"
t.integer "cc_preference_id"
- t.boolean "active", :default => true
+ t.boolean "active", default: true
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "email_addresses", ["bcc_preference_id"], :name => "index_email_addresses_on_bcc_preference_id"
- add_index "email_addresses", ["cc_preference_id"], :name => "index_email_addresses_on_cc_preference_id"
- add_index "email_addresses", ["owner_type", "owner_id"], :name => "index_email_addresses_on_owner_type_and_owner_id"
- add_index "email_addresses", ["reply_to_preference_id"], :name => "index_email_addresses_on_reply_to_preference_id"
+ add_index "email_addresses", ["bcc_preference_id"], name: "index_email_addresses_on_bcc_preference_id", using: :btree
+ add_index "email_addresses", ["cc_preference_id"], name: "index_email_addresses_on_cc_preference_id", using: :btree
+ add_index "email_addresses", ["owner_type", "owner_id"], name: "index_email_addresses_on_owner_type_and_owner_id", using: :btree
+ add_index "email_addresses", ["reply_to_preference_id"], name: "index_email_addresses_on_reply_to_preference_id", using: :btree
- create_table "email_ccs", :force => true do |t|
+ create_table "email_ccs", force: true do |t|
t.integer "email_id"
t.integer "email_address_id"
t.boolean "blind"
@@ -2411,10 +2416,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "email_ccs", ["email_address_id"], :name => "index_email_ccs_on_email_address_id"
- add_index "email_ccs", ["email_id"], :name => "index_email_ccs_on_email_id"
+ add_index "email_ccs", ["email_address_id"], name: "index_email_ccs_on_email_address_id", using: :btree
+ add_index "email_ccs", ["email_id"], name: "index_email_ccs_on_email_id", using: :btree
- create_table "email_events", :force => true do |t|
+ create_table "email_events", force: true do |t|
t.integer "cycle"
t.integer "applicants_email_id"
t.integer "timestamp"
@@ -2424,17 +2429,17 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.text "raw_event"
end
- add_index "email_events", ["applicants_email_id"], :name => "index_email_events_on_applicants_email_id"
+ add_index "email_events", ["applicants_email_id"], name: "index_email_events_on_applicants_email_id", using: :btree
- create_table "email_reply_to", :id => false, :force => true do |t|
+ create_table "email_reply_to", id: false, force: true do |t|
t.integer "email_id"
t.integer "email_address_id"
end
- add_index "email_reply_to", ["email_address_id"], :name => "index_email_reply_to_on_email_address_id"
- add_index "email_reply_to", ["email_id"], :name => "index_email_reply_to_on_email_id"
+ add_index "email_reply_to", ["email_address_id"], name: "index_email_reply_to_on_email_address_id", using: :btree
+ add_index "email_reply_to", ["email_id"], name: "index_email_reply_to_on_email_id", using: :btree
- create_table "email_templates", :force => true do |t|
+ create_table "email_templates", force: true do |t|
t.text "body"
t.string "name"
t.integer "organization_id"
@@ -2448,23 +2453,23 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "email_templates", ["active"], :name => "index_email_templates_on_active"
- add_index "email_templates", ["organization_id"], :name => "index_email_templates_on_organization_id"
- add_index "email_templates", ["user_id"], :name => "index_email_templates_on_user_id"
- add_index "email_templates", ["user_identity_id"], :name => "index_email_templates_on_user_identity_id"
- add_index "email_templates", ["visibility"], :name => "index_email_templates_on_visibility"
+ add_index "email_templates", ["active"], name: "index_email_templates_on_active", using: :btree
+ add_index "email_templates", ["organization_id"], name: "index_email_templates_on_organization_id", using: :btree
+ add_index "email_templates", ["user_id"], name: "index_email_templates_on_user_id", using: :btree
+ add_index "email_templates", ["user_identity_id"], name: "index_email_templates_on_user_identity_id", using: :btree
+ add_index "email_templates", ["visibility"], name: "index_email_templates_on_visibility", using: :btree
- create_table "email_templates_programs", :force => true do |t|
+ create_table "email_templates_programs", force: true do |t|
t.integer "email_template_id"
t.integer "program_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "email_templates_programs", ["email_template_id"], :name => "index_email_template_designations_on_email_template_id"
- add_index "email_templates_programs", ["program_id"], :name => "index_email_template_designations_on_program_id"
+ add_index "email_templates_programs", ["email_template_id"], name: "index_email_template_designations_on_email_template_id", using: :btree
+ add_index "email_templates_programs", ["program_id"], name: "index_email_template_designations_on_program_id", using: :btree
- create_table "emails", :force => true do |t|
+ create_table "emails", force: true do |t|
t.text "body"
t.datetime "created_at"
t.string "subject"
@@ -2477,29 +2482,29 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "enqueued_at"
t.integer "user_identity_id"
t.datetime "updated_at"
- t.string "priority", :default => "normal", :null => false
+ t.string "priority", default: "normal", null: false
end
- add_index "emails", ["email_template_id"], :name => "index_emails_on_email_template_id"
- add_index "emails", ["user_id"], :name => "index_emails_on_user_id"
- add_index "emails", ["user_identity_id"], :name => "index_emails_on_user_identity_id"
+ add_index "emails", ["email_template_id"], name: "index_emails_on_email_template_id", using: :btree
+ add_index "emails", ["user_id"], name: "index_emails_on_user_id", using: :btree
+ add_index "emails", ["user_identity_id"], name: "index_emails_on_user_identity_id", using: :btree
- create_table "essay_programs", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "essay_id", :null => false
- t.integer "program_id", :null => false
+ create_table "essay_programs", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "essay_id", null: false
+ t.integer "program_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.string "identifier"
end
- add_index "essay_programs", ["applicant_id"], :name => "index_essay_programs_on_applicant_id"
- add_index "essay_programs", ["essay_id"], :name => "index_essay_programs_on_essay_id"
- add_index "essay_programs", ["identifier"], :name => "index_essay_programs_on_identifier"
- add_index "essay_programs", ["program_id"], :name => "index_essay_programs_on_program_id"
+ add_index "essay_programs", ["applicant_id"], name: "index_essay_programs_on_applicant_id", using: :btree
+ add_index "essay_programs", ["essay_id"], name: "index_essay_programs_on_essay_id", using: :btree
+ add_index "essay_programs", ["identifier"], name: "index_essay_programs_on_identifier", using: :btree
+ add_index "essay_programs", ["program_id"], name: "index_essay_programs_on_program_id", using: :btree
- create_table "essays", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "essays", force: true do |t|
+ t.integer "applicant_id", null: false
t.text "content"
t.datetime "created_at"
t.datetime "updated_at"
@@ -2514,28 +2519,28 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.text "mdphd_research_experience_content"
end
- add_index "essays", ["applicant_id"], :name => "index_essays_on_applicant_id"
- add_index "essays", ["identifier"], :name => "index_essays_on_identifier"
- add_index "essays", ["turnitin_document_id"], :name => "index_essays_on_turnitin_document_id"
+ add_index "essays", ["applicant_id"], name: "index_essays_on_applicant_id", using: :btree
+ add_index "essays", ["identifier"], name: "index_essays_on_identifier", using: :btree
+ add_index "essays", ["turnitin_document_id"], name: "index_essays_on_turnitin_document_id", using: :btree
- create_table "ethnicities", :force => true do |t|
- t.string "name", :null => false
+ create_table "ethnicities", force: true do |t|
+ t.string "name", null: false
t.string "tag"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "order"
t.string "category"
- t.boolean "advisor", :default => true
- t.string "identifier", :null => false
+ t.boolean "advisor", default: true
+ t.string "identifier", null: false
t.string "required_features"
t.string "field_type"
t.string "lookup_class_name"
end
- add_index "ethnicities", ["category"], :name => "index_ethnicities_on_category"
- add_index "ethnicities", ["identifier", "field_type"], :name => "index_ethnicities_on_identifier_and_field_type", :unique => true
+ add_index "ethnicities", ["category"], name: "index_ethnicities_on_category", using: :btree
+ add_index "ethnicities", ["identifier", "field_type"], name: "index_ethnicities_on_identifier_and_field_type", unique: true, using: :btree
- create_table "etl_runs", :force => true do |t|
+ create_table "etl_runs", force: true do |t|
t.integer "association_id"
t.string "queue"
t.text "user"
@@ -2545,9 +2550,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.text "notes"
end
- add_index "etl_runs", ["association_id"], :name => "index_etl_runs_on_cas_id"
+ add_index "etl_runs", ["association_id"], name: "index_etl_runs_on_cas_id", using: :btree
- create_table "evaluation_additional_evaluators", :force => true do |t|
+ create_table "evaluation_additional_evaluators", force: true do |t|
t.integer "evaluation_id"
t.string "evaluator_1"
t.string "evaluator_2"
@@ -2564,10 +2569,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "applicant_id"
end
- add_index "evaluation_additional_evaluators", ["applicant_id"], :name => "index_evaluation_additional_evaluators_on_applicant_id"
- add_index "evaluation_additional_evaluators", ["evaluation_id"], :name => "index_evaluation_additional_evaluators_on_evaluation_id"
+ add_index "evaluation_additional_evaluators", ["applicant_id"], name: "index_evaluation_additional_evaluators_on_applicant_id", using: :btree
+ add_index "evaluation_additional_evaluators", ["evaluation_id"], name: "index_evaluation_additional_evaluators_on_evaluation_id", using: :btree
- create_table "evaluation_answers", :force => true do |t|
+ create_table "evaluation_answers", force: true do |t|
t.integer "applicant_id"
t.integer "evaluation_id"
t.integer "question_base_id"
@@ -2575,7 +2580,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.date "date_value"
t.integer "fixnum_value"
t.boolean "boolean_value"
- t.decimal "decimal_value", :precision => 12, :scale => 2
+ t.decimal "decimal_value", precision: 12, scale: 2
t.integer "answered_by_id"
t.integer "supplemental_lookup_id"
t.datetime "answer_date"
@@ -2583,13 +2588,13 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "evaluation_answers", ["answered_by_id"], :name => "index_evaluation_answers_on_answered_by_id"
- add_index "evaluation_answers", ["applicant_id"], :name => "index_evaluation_answers_on_applicant_id"
- add_index "evaluation_answers", ["evaluation_id"], :name => "index_evaluation_answers_on_evaluation_id"
- add_index "evaluation_answers", ["question_base_id"], :name => "index_evaluation_answers_on_question_base_id"
- add_index "evaluation_answers", ["supplemental_lookup_id"], :name => "index_evaluation_answers_on_supplemental_lookup_id"
+ add_index "evaluation_answers", ["answered_by_id"], name: "index_evaluation_answers_on_answered_by_id", using: :btree
+ add_index "evaluation_answers", ["applicant_id"], name: "index_evaluation_answers_on_applicant_id", using: :btree
+ add_index "evaluation_answers", ["evaluation_id"], name: "index_evaluation_answers_on_evaluation_id", using: :btree
+ add_index "evaluation_answers", ["question_base_id"], name: "index_evaluation_answers_on_question_base_id", using: :btree
+ add_index "evaluation_answers", ["supplemental_lookup_id"], name: "index_evaluation_answers_on_supplemental_lookup_id", using: :btree
- create_table "evaluation_requests", :force => true do |t|
+ create_table "evaluation_requests", force: true do |t|
t.integer "applicant_id"
t.integer "evaluation_id"
t.string "identifier"
@@ -2601,19 +2606,19 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "evaluation_requests", ["applicant_id"], :name => "index_evaluation_requests_on_applicant_id"
+ add_index "evaluation_requests", ["applicant_id"], name: "index_evaluation_requests_on_applicant_id", using: :btree
- create_table "evaluation_summaries", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "evaluation_summaries", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "evaluations_received"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "evaluation_summaries", ["applicant_id"], :name => "index_evaluation_summaries_on_applicant_id"
- add_index "evaluation_summaries", ["evaluations_received"], :name => "index_evaluation_summaries_on_evaluations_received"
+ add_index "evaluation_summaries", ["applicant_id"], name: "index_evaluation_summaries_on_applicant_id", using: :btree
+ add_index "evaluation_summaries", ["evaluations_received"], name: "index_evaluation_summaries_on_evaluations_received", using: :btree
- create_table "evaluation_types", :force => true do |t|
+ create_table "evaluation_types", force: true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
@@ -2621,11 +2626,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "association_id"
end
- add_index "evaluation_types", ["association_id", "identifier"], :name => "index_evaluation_types_on_association_id_and_identifier"
- add_index "evaluation_types", ["association_id"], :name => "index_evaluation_types_on_association_id"
- add_index "evaluation_types", ["identifier"], :name => "index_evaluation_types_on_identifier"
+ add_index "evaluation_types", ["association_id", "identifier"], name: "index_evaluation_types_on_association_id_and_identifier", using: :btree
+ add_index "evaluation_types", ["association_id"], name: "index_evaluation_types_on_association_id", using: :btree
+ add_index "evaluation_types", ["identifier"], name: "index_evaluation_types_on_identifier", using: :btree
- create_table "evaluations", :force => true do |t|
+ create_table "evaluations", force: true do |t|
t.string "barcode"
t.integer "identifier"
t.integer "applicant_id"
@@ -2717,7 +2722,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "independence_rating_id"
t.integer "constructive_criticism_rating_id"
t.integer "professionalism_rating_id"
- t.decimal "hours_interaction", :precision => 7, :scale => 2
+ t.decimal "hours_interaction", precision: 7, scale: 2
t.boolean "relationship_faculty"
t.boolean "relationship_preceptor"
t.boolean "relationship_employer"
@@ -2748,20 +2753,20 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.text "clinical_problem_solving_skills_comments"
end
- add_index "evaluations", ["applicant_id"], :name => "index_evaluations_on_applicant_id"
- add_index "evaluations", ["association_id", "identifier"], :name => "index_evaluations_on_association_id_and_identifier"
- add_index "evaluations", ["association_id"], :name => "index_evaluations_on_association_id"
- add_index "evaluations", ["cas_evaluator_id"], :name => "index_evaluations_on_cas_evaluator_id"
- add_index "evaluations", ["evaluation_type_id"], :name => "index_evaluations_on_evaluation_type_id"
- add_index "evaluations", ["evaluator_type"], :name => "index_evaluations_on_evaluator_type"
- add_index "evaluations", ["how_well_known_id"], :name => "index_evaluations_on_how_well_known_id"
- add_index "evaluations", ["identifier"], :name => "index_evaluations_on_identifier"
- add_index "evaluations", ["length_known_id"], :name => "index_evaluations_on_length_known_id"
- add_index "evaluations", ["organization_id"], :name => "index_evaluations_on_organization_id"
- add_index "evaluations", ["received_date"], :name => "index_evaluations_on_received_date"
- add_index "evaluations", ["scope_type"], :name => "index_evaluations_on_scope_type"
-
- create_table "evaluators", :force => true do |t|
+ add_index "evaluations", ["applicant_id"], name: "index_evaluations_on_applicant_id", using: :btree
+ add_index "evaluations", ["association_id", "identifier"], name: "index_evaluations_on_association_id_and_identifier", using: :btree
+ add_index "evaluations", ["association_id"], name: "index_evaluations_on_association_id", using: :btree
+ add_index "evaluations", ["cas_evaluator_id"], name: "index_evaluations_on_cas_evaluator_id", using: :btree
+ add_index "evaluations", ["evaluation_type_id"], name: "index_evaluations_on_evaluation_type_id", using: :btree
+ add_index "evaluations", ["evaluator_type"], name: "index_evaluations_on_evaluator_type", using: :btree
+ add_index "evaluations", ["how_well_known_id"], name: "index_evaluations_on_how_well_known_id", using: :btree
+ add_index "evaluations", ["identifier"], name: "index_evaluations_on_identifier", using: :btree
+ add_index "evaluations", ["length_known_id"], name: "index_evaluations_on_length_known_id", using: :btree
+ add_index "evaluations", ["organization_id"], name: "index_evaluations_on_organization_id", using: :btree
+ add_index "evaluations", ["received_date"], name: "index_evaluations_on_received_date", using: :btree
+ add_index "evaluations", ["scope_type"], name: "index_evaluations_on_scope_type", using: :btree
+
+ create_table "evaluators", force: true do |t|
t.string "phone"
t.string "title"
t.string "address"
@@ -2795,14 +2800,14 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "organization_name"
end
- add_index "evaluators", ["association_id", "identifier"], :name => "index_evaluators_on_association_id_and_identifier"
- add_index "evaluators", ["association_id"], :name => "index_evaluators_on_association_id"
- add_index "evaluators", ["identifier"], :name => "index_evaluators_on_identifier"
- add_index "evaluators", ["occupation_id"], :name => "index_evaluators_on_occupation_id"
- add_index "evaluators", ["phone_type_id"], :name => "index_evaluators_on_phone_type_id"
- add_index "evaluators", ["type"], :name => "index_evaluators_on_type"
+ add_index "evaluators", ["association_id", "identifier"], name: "index_evaluators_on_association_id_and_identifier", using: :btree
+ add_index "evaluators", ["association_id"], name: "index_evaluators_on_association_id", using: :btree
+ add_index "evaluators", ["identifier"], name: "index_evaluators_on_identifier", using: :btree
+ add_index "evaluators", ["occupation_id"], name: "index_evaluators_on_occupation_id", using: :btree
+ add_index "evaluators", ["phone_type_id"], name: "index_evaluators_on_phone_type_id", using: :btree
+ add_index "evaluators", ["type"], name: "index_evaluators_on_type", using: :btree
- create_table "events", :force => true do |t|
+ create_table "events", force: true do |t|
t.integer "applicant_id"
t.integer "user_id"
t.datetime "created_at"
@@ -2826,18 +2831,18 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "reverted_at"
end
- add_index "events", ["applicant_id"], :name => "index_events_on_applicant_id"
- add_index "events", ["decision_id"], :name => "index_events_on_decision_id"
- add_index "events", ["designation_id"], :name => "index_events_on_designation_id"
- add_index "events", ["local_status_id"], :name => "index_events_on_local_status_id"
- add_index "events", ["old_decision_id"], :name => "index_events_on_old_decision_id"
- add_index "events", ["old_local_status_id"], :name => "index_events_on_old_local_status_id"
- add_index "events", ["program_id"], :name => "index_events_on_program_id"
- add_index "events", ["revert_user_identity_id"], :name => "index_events_on_revert_user_identity_id"
- add_index "events", ["user_id"], :name => "index_events_on_user_id"
- add_index "events", ["user_identity_id"], :name => "index_events_on_user_identity_id"
+ add_index "events", ["applicant_id"], name: "index_events_on_applicant_id", using: :btree
+ add_index "events", ["decision_id"], name: "index_events_on_decision_id", using: :btree
+ add_index "events", ["designation_id"], name: "index_events_on_designation_id", using: :btree
+ add_index "events", ["local_status_id"], name: "index_events_on_local_status_id", using: :btree
+ add_index "events", ["old_decision_id"], name: "index_events_on_old_decision_id", using: :btree
+ add_index "events", ["old_local_status_id"], name: "index_events_on_old_local_status_id", using: :btree
+ add_index "events", ["program_id"], name: "index_events_on_program_id", using: :btree
+ add_index "events", ["revert_user_identity_id"], name: "index_events_on_revert_user_identity_id", using: :btree
+ add_index "events", ["user_id"], name: "index_events_on_user_id", using: :btree
+ add_index "events", ["user_identity_id"], name: "index_events_on_user_identity_id", using: :btree
- create_table "experience_frequencies", :force => true do |t|
+ create_table "experience_frequencies", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -2845,11 +2850,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "experience_frequencies", ["association_id", "identifier"], :name => "index_experience_frequencies_on_association_id_and_identifier"
- add_index "experience_frequencies", ["association_id"], :name => "index_experience_frequencies_on_association_id"
- add_index "experience_frequencies", ["identifier"], :name => "index_experience_frequencies_on_identifier"
+ add_index "experience_frequencies", ["association_id", "identifier"], name: "index_experience_frequencies_on_association_id_and_identifier", using: :btree
+ add_index "experience_frequencies", ["association_id"], name: "index_experience_frequencies_on_association_id", using: :btree
+ add_index "experience_frequencies", ["identifier"], name: "index_experience_frequencies_on_identifier", using: :btree
- create_table "experience_pay_types", :force => true do |t|
+ create_table "experience_pay_types", force: true do |t|
t.integer "association_id"
t.string "name"
t.string "identifier"
@@ -2858,18 +2863,18 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "code"
end
- add_index "experience_pay_types", ["association_id", "identifier"], :name => "index_experience_pay_types_on_association_id_and_identifier"
- add_index "experience_pay_types", ["association_id"], :name => "index_experience_pay_types_on_association_id"
- add_index "experience_pay_types", ["identifier"], :name => "index_experience_pay_types_on_identifier"
+ add_index "experience_pay_types", ["association_id", "identifier"], name: "index_experience_pay_types_on_association_id_and_identifier", using: :btree
+ add_index "experience_pay_types", ["association_id"], name: "index_experience_pay_types_on_association_id", using: :btree
+ add_index "experience_pay_types", ["identifier"], name: "index_experience_pay_types_on_identifier", using: :btree
- create_table "experience_positions", :force => true do |t|
+ create_table "experience_positions", force: true do |t|
t.integer "experience_id"
t.integer "position_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "experience_settings", :force => true do |t|
+ create_table "experience_settings", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -2877,21 +2882,21 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "experience_settings", ["association_id", "identifier"], :name => "index_experience_settings_on_association_id_and_identifier"
- add_index "experience_settings", ["association_id"], :name => "index_experience_settings_on_association_id"
- add_index "experience_settings", ["identifier"], :name => "index_experience_settings_on_identifier"
+ add_index "experience_settings", ["association_id", "identifier"], name: "index_experience_settings_on_association_id_and_identifier", using: :btree
+ add_index "experience_settings", ["association_id"], name: "index_experience_settings_on_association_id", using: :btree
+ add_index "experience_settings", ["identifier"], name: "index_experience_settings_on_identifier", using: :btree
- create_table "experience_type_total_hours", :force => true do |t|
+ create_table "experience_type_total_hours", force: true do |t|
t.integer "applicant_id"
t.string "narrow_field_type"
t.integer "total_hours"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "experience_type_total_hours", ["applicant_id"], :name => "index_experience_type_total_hours_on_applicant_id"
+ add_index "experience_type_total_hours", ["applicant_id"], name: "index_experience_type_total_hours_on_applicant_id", using: :btree
- create_table "experience_types", :force => true do |t|
+ create_table "experience_types", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -2900,11 +2905,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "code"
end
- add_index "experience_types", ["association_id", "identifier"], :name => "index_experience_types_on_association_id_and_identifier"
- add_index "experience_types", ["association_id"], :name => "index_experience_types_on_association_id"
- add_index "experience_types", ["identifier"], :name => "index_experience_types_on_identifier"
+ add_index "experience_types", ["association_id", "identifier"], name: "index_experience_types_on_association_id_and_identifier", using: :btree
+ add_index "experience_types", ["association_id"], name: "index_experience_types_on_association_id", using: :btree
+ add_index "experience_types", ["identifier"], name: "index_experience_types_on_identifier", using: :btree
- create_table "experiences", :force => true do |t|
+ create_table "experiences", force: true do |t|
t.string "type"
t.string "employer"
t.integer "hours"
@@ -2988,23 +2993,23 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.boolean "other_animal_type"
t.string "other_animal_type_specify"
t.integer "state_id"
- t.boolean "most_important", :default => false
+ t.boolean "most_important", default: false
t.integer "experience_timeframe_id"
t.integer "employment_experience_timeframe_id"
end
- add_index "experiences", ["applicant_id"], :name => "index_experiences_on_applicant_id"
- add_index "experiences", ["employment_experience_timeframe_id"], :name => "index_experiences_on_employment_experience_timeframe_id"
- add_index "experiences", ["experience_setting_id"], :name => "index_experiences_on_experience_setting_id"
- add_index "experiences", ["experience_timeframe_id"], :name => "index_experiences_on_experience_timeframe_id"
- add_index "experiences", ["experience_type_id"], :name => "index_experiences_on_experience_type_id"
- add_index "experiences", ["health_care_profession_id"], :name => "index_experiences_on_health_care_profession_id"
- add_index "experiences", ["health_care_setting_id"], :name => "index_experiences_on_health_care_setting_id"
- add_index "experiences", ["identifier"], :name => "index_experiences_on_identifier"
- add_index "experiences", ["status_id"], :name => "index_experiences_on_status_id"
- add_index "experiences", ["type"], :name => "index_experiences_on_type"
+ add_index "experiences", ["applicant_id"], name: "index_experiences_on_applicant_id", using: :btree
+ add_index "experiences", ["employment_experience_timeframe_id"], name: "index_experiences_on_employment_experience_timeframe_id", using: :btree
+ add_index "experiences", ["experience_setting_id"], name: "index_experiences_on_experience_setting_id", using: :btree
+ add_index "experiences", ["experience_timeframe_id"], name: "index_experiences_on_experience_timeframe_id", using: :btree
+ add_index "experiences", ["experience_type_id"], name: "index_experiences_on_experience_type_id", using: :btree
+ add_index "experiences", ["health_care_profession_id"], name: "index_experiences_on_health_care_profession_id", using: :btree
+ add_index "experiences", ["health_care_setting_id"], name: "index_experiences_on_health_care_setting_id", using: :btree
+ add_index "experiences", ["identifier"], name: "index_experiences_on_identifier", using: :btree
+ add_index "experiences", ["status_id"], name: "index_experiences_on_status_id", using: :btree
+ add_index "experiences", ["type"], name: "index_experiences_on_type", using: :btree
- create_table "export_files", :force => true do |t|
+ create_table "export_files", force: true do |t|
t.string "key"
t.integer "export_id"
t.datetime "created_at"
@@ -3018,9 +3023,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "user_identity_id"
end
- add_index "export_files", ["export_id"], :name => "index_export_files_on_export_id"
+ add_index "export_files", ["export_id"], name: "index_export_files_on_export_id", using: :btree
- create_table "export_formats", :force => true do |t|
+ create_table "export_formats", force: true do |t|
t.string "exporter"
t.string "extension"
t.string "mime_type"
@@ -3028,20 +3033,20 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
t.datetime "created_at"
t.boolean "display_fixed_width"
- t.boolean "multiple_files", :default => false, :null => false
+ t.boolean "multiple_files", default: false, null: false
end
- create_table "export_limit_associations", :force => true do |t|
+ create_table "export_limit_associations", force: true do |t|
t.string "name"
t.string "identifier"
t.datetime "created_at"
t.datetime "updated_at"
t.boolean "display_field_categories"
t.boolean "display_columns"
- t.boolean "multiple_rows", :default => false
+ t.boolean "multiple_rows", default: false
end
- create_table "exports", :force => true do |t|
+ create_table "exports", force: true do |t|
t.integer "export_format_id"
t.boolean "headings"
t.integer "static_list_id"
@@ -3063,18 +3068,18 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
t.integer "column_grouping_type_id"
t.integer "export_limit_association_id"
- t.boolean "update_last_export", :default => false, :null => false
+ t.boolean "update_last_export", default: false, null: false
end
- add_index "exports", ["decision_id"], :name => "index_exports_on_decision_id"
- add_index "exports", ["export_format_id"], :name => "index_exports_on_export_format_id"
- add_index "exports", ["show_on_toolbar"], :name => "index_exports_on_show_on_toolbar"
- add_index "exports", ["static_list_id"], :name => "index_exports_on_static_list_id"
- add_index "exports", ["type"], :name => "index_exports_on_type"
- add_index "exports", ["user_id"], :name => "index_exports_on_user_id"
- add_index "exports", ["user_identity_id"], :name => "index_exports_on_user_identity_id"
+ add_index "exports", ["decision_id"], name: "index_exports_on_decision_id", using: :btree
+ add_index "exports", ["export_format_id"], name: "index_exports_on_export_format_id", using: :btree
+ add_index "exports", ["show_on_toolbar"], name: "index_exports_on_show_on_toolbar", using: :btree
+ add_index "exports", ["static_list_id"], name: "index_exports_on_static_list_id", using: :btree
+ add_index "exports", ["type"], name: "index_exports_on_type", using: :btree
+ add_index "exports", ["user_id"], name: "index_exports_on_user_id", using: :btree
+ add_index "exports", ["user_identity_id"], name: "index_exports_on_user_identity_id", using: :btree
- create_table "exports_fields", :force => true do |t|
+ create_table "exports_fields", force: true do |t|
t.integer "export_id"
t.integer "field_id"
t.integer "order"
@@ -3086,18 +3091,18 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "filter_name"
end
- add_index "exports_fields", ["export_id"], :name => "index_exports_fields_on_export_id"
- add_index "exports_fields", ["field_id"], :name => "index_exports_fields_on_field_id"
+ add_index "exports_fields", ["export_id"], name: "index_exports_fields_on_export_id", using: :btree
+ add_index "exports_fields", ["field_id"], name: "index_exports_fields_on_field_id", using: :btree
- create_table "exports_work_groups", :id => false, :force => true do |t|
+ create_table "exports_work_groups", id: false, force: true do |t|
t.integer "export_id"
t.integer "work_group_id"
end
- add_index "exports_work_groups", ["export_id", "work_group_id"], :name => "index_work_groups_exports_on_export_id_and_work_group_id"
+ add_index "exports_work_groups", ["export_id", "work_group_id"], name: "index_work_groups_exports_on_export_id_and_work_group_id", using: :btree
- create_table "faqs", :force => true do |t|
- t.integer "association_id", :null => false
+ create_table "faqs", force: true do |t|
+ t.integer "association_id", null: false
t.string "question"
t.text "answer"
t.integer "position"
@@ -3105,9 +3110,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "faqs", ["association_id"], :name => "index_faqs_on_association_id"
+ add_index "faqs", ["association_id"], name: "index_faqs_on_association_id", using: :btree
- create_table "feature_assignments", :force => true do |t|
+ create_table "feature_assignments", force: true do |t|
t.integer "feature_id"
t.string "assignee_type"
t.integer "assignee_id"
@@ -3115,10 +3120,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "feature_assignments", ["assignee_type", "assignee_id"], :name => "index_feature_assignments_on_assignee_type_and_assignee_id"
- add_index "feature_assignments", ["feature_id"], :name => "index_feature_assignments_on_feature_id"
+ add_index "feature_assignments", ["assignee_type", "assignee_id"], name: "index_feature_assignments_on_assignee_type_and_assignee_id", using: :btree
+ add_index "feature_assignments", ["feature_id"], name: "index_feature_assignments_on_feature_id", using: :btree
- create_table "features", :force => true do |t|
+ create_table "features", force: true do |t|
t.string "name"
t.string "title"
t.text "description"
@@ -3127,7 +3132,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "fee_waivers", :force => true do |t|
+ create_table "fee_waivers", force: true do |t|
t.integer "applicant_id"
t.date "submit_date"
t.date "awarded_date"
@@ -3135,7 +3140,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.date "expiration_date"
t.date "declined_date"
t.date "revoked_date"
- t.decimal "amount", :precision => 10, :scale => 2
+ t.decimal "amount", precision: 10, scale: 2
t.integer "number_of_programs"
t.datetime "created_at"
t.datetime "updated_at"
@@ -3144,12 +3149,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "fee_waivers", ["applicant_id"], :name => "index_fee_waivers_on_applicant_id", :unique => true
- add_index "fee_waivers", ["fee_type_id"], :name => "index_fee_waivers_on_fee_type_id"
- add_index "fee_waivers", ["service_type_id"], :name => "index_fee_waivers_on_service_type_id"
- add_index "fee_waivers", ["status_id"], :name => "index_fee_waivers_on_status_id"
+ add_index "fee_waivers", ["applicant_id"], name: "index_fee_waivers_on_applicant_id", unique: true, using: :btree
+ add_index "fee_waivers", ["fee_type_id"], name: "index_fee_waivers_on_fee_type_id", using: :btree
+ add_index "fee_waivers", ["service_type_id"], name: "index_fee_waivers_on_service_type_id", using: :btree
+ add_index "fee_waivers", ["status_id"], name: "index_fee_waivers_on_status_id", using: :btree
- create_table "field_categories", :force => true do |t|
+ create_table "field_categories", force: true do |t|
t.string "identifier"
t.string "name"
t.boolean "exportable"
@@ -3162,26 +3167,26 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "relation_name"
end
- add_index "field_categories", ["identifier"], :name => "index_field_categories_on_identifier"
- add_index "field_categories", ["omit_from_clause_value_list"], :name => "index_field_categories_on_omit_from_clause_value_list"
+ add_index "field_categories", ["identifier"], name: "index_field_categories_on_identifier", using: :btree
+ add_index "field_categories", ["omit_from_clause_value_list"], name: "index_field_categories_on_omit_from_clause_value_list", using: :btree
- create_table "field_manager_syncs", :force => true do |t|
+ create_table "field_manager_syncs", force: true do |t|
t.integer "user_identity_id"
- t.string "status", :null => false
+ t.string "status", null: false
t.text "message"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "field_manager_syncs", ["status"], :name => "index_field_manager_syncs_on_status"
+ add_index "field_manager_syncs", ["status"], name: "index_field_manager_syncs_on_status", using: :btree
- create_table "field_manager_versions", :force => true do |t|
+ create_table "field_manager_versions", force: true do |t|
t.string "version_timestamp"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "field_operators", :force => true do |t|
+ create_table "field_operators", force: true do |t|
t.string "name"
t.string "operator"
t.integer "comparison_type_id"
@@ -3189,26 +3194,26 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "field_operators", ["comparison_type_id"], :name => "index_field_operators_on_comparison_type_id"
+ add_index "field_operators", ["comparison_type_id"], name: "index_field_operators_on_comparison_type_id", using: :btree
- create_table "field_operators_field_types", :id => false, :force => true do |t|
+ create_table "field_operators_field_types", id: false, force: true do |t|
t.integer "field_operator_id"
t.integer "field_type_id"
end
- add_index "field_operators_field_types", ["field_operator_id"], :name => "index_field_operators_field_types_on_field_operator_id"
- add_index "field_operators_field_types", ["field_type_id"], :name => "index_field_operators_field_types_on_field_type_id"
+ add_index "field_operators_field_types", ["field_operator_id"], name: "index_field_operators_field_types_on_field_operator_id", using: :btree
+ add_index "field_operators_field_types", ["field_type_id"], name: "index_field_operators_field_types_on_field_type_id", using: :btree
- create_table "field_subpanel_assignments", :force => true do |t|
+ create_table "field_subpanel_assignments", force: true do |t|
t.integer "field_id"
t.integer "subpanel_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "field_subpanel_assignments", ["field_id", "subpanel_id"], :name => "index_field_subpanel_assignments_on_field_id_and_subpanel_id", :unique => true
+ add_index "field_subpanel_assignments", ["field_id", "subpanel_id"], name: "index_field_subpanel_assignments_on_field_id_and_subpanel_id", unique: true, using: :btree
- create_table "field_transformations", :force => true do |t|
+ create_table "field_transformations", force: true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
@@ -3217,22 +3222,22 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "selected"
end
- create_table "field_types", :force => true do |t|
+ create_table "field_types", force: true do |t|
t.string "name"
t.integer "default_field_operator_id"
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "field_types", ["default_field_operator_id"], :name => "index_field_types_on_default_field_operator_id"
+ add_index "field_types", ["default_field_operator_id"], name: "index_field_types_on_default_field_operator_id", using: :btree
- create_table "fields", :force => true do |t|
+ create_table "fields", force: true do |t|
t.integer "field_category_id"
t.string "field_name"
t.text "name"
t.integer "field_type_id"
t.integer "default_field_operator_id"
- t.string "identifier", :limit => 1028
+ t.string "identifier", limit: 1028
t.string "lookup_class_name"
t.string "name_field_name"
t.string "value_field_name"
@@ -3259,7 +3264,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.boolean "active"
t.integer "owner_id"
t.string "owner_type"
- t.boolean "scorable", :default => false
+ t.boolean "scorable", default: false
t.boolean "exportable"
t.string "scoring_date_field_identifier"
t.string "default_value"
@@ -3272,22 +3277,22 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.boolean "institution"
t.boolean "indexable"
t.boolean "advisor"
- t.boolean "skip_visibility_scoping", :default => false, :null => false
- end
-
- add_index "fields", ["default_field_operator_id"], :name => "index_fields_on_default_field_operator_id"
- add_index "fields", ["field_category_id"], :name => "index_fields_on_field_category_id"
- add_index "fields", ["field_type_id"], :name => "index_fields_on_field_type_id"
- add_index "fields", ["identifier"], :name => "index_fields_on_identifier"
- add_index "fields", ["in_progress_export_order"], :name => "index_fields_on_in_progress_export_order"
- add_index "fields", ["organization_id"], :name => "index_fields_on_organization_id"
- add_index "fields", ["owner_type", "owner_id"], :name => "index_fields_on_owner_type_and_owner_id"
- add_index "fields", ["program_id"], :name => "index_fields_on_program_id"
- add_index "fields", ["relation_name", "narrow_field_name", "narrow_field_value"], :name => "narrow_field_lookup"
- add_index "fields", ["relation_name"], :name => "index_fields_on_relation_name"
- add_index "fields", ["sort_order"], :name => "index_fields_on_sort_order"
-
- create_table "fields_reports", :force => true do |t|
+ t.boolean "skip_visibility_scoping", default: false, null: false
+ end
+
+ add_index "fields", ["default_field_operator_id"], name: "index_fields_on_default_field_operator_id", using: :btree
+ add_index "fields", ["field_category_id"], name: "index_fields_on_field_category_id", using: :btree
+ add_index "fields", ["field_type_id"], name: "index_fields_on_field_type_id", using: :btree
+ add_index "fields", ["identifier"], name: "index_fields_on_identifier", using: :btree
+ add_index "fields", ["in_progress_export_order"], name: "index_fields_on_in_progress_export_order", using: :btree
+ add_index "fields", ["organization_id"], name: "index_fields_on_organization_id", using: :btree
+ add_index "fields", ["owner_type", "owner_id"], name: "index_fields_on_owner_type_and_owner_id", using: :btree
+ add_index "fields", ["program_id"], name: "index_fields_on_program_id", using: :btree
+ add_index "fields", ["relation_name", "narrow_field_name", "narrow_field_value"], name: "narrow_field_lookup", using: :btree
+ add_index "fields", ["relation_name"], name: "index_fields_on_relation_name", using: :btree
+ add_index "fields", ["sort_order"], name: "index_fields_on_sort_order", using: :btree
+
+ create_table "fields_reports", force: true do |t|
t.string "workbook_file_name"
t.string "workbook_content_type"
t.integer "workbook_file_size"
@@ -3297,9 +3302,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "fields_reports", ["association_id"], :name => "index_fields_reports_on_association_id"
+ add_index "fields_reports", ["association_id"], name: "index_fields_reports_on_association_id", using: :btree
- create_table "first_heard_sources", :force => true do |t|
+ create_table "first_heard_sources", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -3307,11 +3312,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "first_heard_sources", ["association_id", "identifier"], :name => "index_first_heard_sources_on_association_id_and_identifier"
- add_index "first_heard_sources", ["association_id"], :name => "index_first_heard_sources_on_association_id"
- add_index "first_heard_sources", ["identifier"], :name => "index_first_heard_sources_on_identifier"
+ add_index "first_heard_sources", ["association_id", "identifier"], name: "index_first_heard_sources_on_association_id_and_identifier", using: :btree
+ add_index "first_heard_sources", ["association_id"], name: "index_first_heard_sources_on_association_id", using: :btree
+ add_index "first_heard_sources", ["identifier"], name: "index_first_heard_sources_on_identifier", using: :btree
- create_table "first_post_graduate_years", :force => true do |t|
+ create_table "first_post_graduate_years", force: true do |t|
t.integer "applicant_id"
t.string "other_organization_name"
t.string "other_organization_city_state"
@@ -3325,9 +3330,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "first_post_graduate_years", ["applicant_id"], :name => "index_first_post_graduate_years_on_applicant_id"
+ add_index "first_post_graduate_years", ["applicant_id"], name: "index_first_post_graduate_years_on_applicant_id", using: :btree
- create_table "foreign_evaluations", :force => true do |t|
+ create_table "foreign_evaluations", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.date "date_received"
@@ -3339,10 +3344,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "type"
end
- add_index "foreign_evaluations", ["applicant_id"], :name => "index_foreign_evaluations_on_applicant_id"
- add_index "foreign_evaluations", ["identifier"], :name => "index_foreign_evaluations_on_identifier"
+ add_index "foreign_evaluations", ["applicant_id"], name: "index_foreign_evaluations_on_applicant_id", using: :btree
+ add_index "foreign_evaluations", ["identifier"], name: "index_foreign_evaluations_on_identifier", using: :btree
- create_table "gender_identities", :force => true do |t|
+ create_table "gender_identities", force: true do |t|
t.integer "applicant_id"
t.integer "designated_pronoun_id"
t.boolean "male"
@@ -3357,9 +3362,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "designated_pronoun_other"
end
- add_index "gender_identities", ["applicant_id"], :name => "index_gender_identities_on_applicant_id"
+ add_index "gender_identities", ["applicant_id"], name: "index_gender_identities_on_applicant_id", using: :btree
- create_table "genders", :force => true do |t|
+ create_table "genders", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -3368,13 +3373,13 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "code"
end
- add_index "genders", ["association_id", "identifier"], :name => "index_genders_on_association_id_and_identifier"
- add_index "genders", ["association_id"], :name => "index_genders_on_association_id"
- add_index "genders", ["identifier"], :name => "index_genders_on_identifier"
+ add_index "genders", ["association_id", "identifier"], name: "index_genders_on_association_id_and_identifier", using: :btree
+ add_index "genders", ["association_id"], name: "index_genders_on_association_id", using: :btree
+ add_index "genders", ["identifier"], name: "index_genders_on_identifier", using: :btree
- create_table "general_education_courses", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.string "subject_identifier", :null => false
+ create_table "general_education_courses", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.string "subject_identifier", null: false
t.string "subject"
t.string "prefix"
t.string "title"
@@ -3384,9 +3389,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "general_education_courses", ["applicant_id", "subject_identifier"], :name => "idx_general_education_courses_applicant_id_subject_identifier", :unique => true
+ add_index "general_education_courses", ["applicant_id", "subject_identifier"], name: "idx_general_education_courses_applicant_id_subject_identifier", unique: true, using: :btree
- create_table "geographic_areas", :force => true do |t|
+ create_table "geographic_areas", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -3395,11 +3400,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "code"
end
- add_index "geographic_areas", ["association_id", "identifier"], :name => "index_geographic_areas_on_association_id_and_identifier"
- add_index "geographic_areas", ["association_id"], :name => "index_geographic_areas_on_association_id"
- add_index "geographic_areas", ["identifier"], :name => "index_geographic_areas_on_identifier"
+ add_index "geographic_areas", ["association_id", "identifier"], name: "index_geographic_areas_on_association_id_and_identifier", using: :btree
+ add_index "geographic_areas", ["association_id"], name: "index_geographic_areas_on_association_id", using: :btree
+ add_index "geographic_areas", ["identifier"], name: "index_geographic_areas_on_identifier", using: :btree
- create_table "geographic_indicators", :force => true do |t|
+ create_table "geographic_indicators", force: true do |t|
t.integer "applicant_id"
t.integer "birth_county_urban_rural_id"
t.integer "birth_county_med_underserved_id"
@@ -3419,132 +3424,132 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "geographic_indicators", ["applicant_id"], :name => "index_geographic_indicators_on_applicant_id"
+ add_index "geographic_indicators", ["applicant_id"], name: "index_geographic_indicators_on_applicant_id", using: :btree
- create_table "global_lookups", :force => true do |t|
- t.string "identifier", :null => false
- t.string "name", :null => false
- t.string "type", :null => false
+ create_table "global_lookups", force: true do |t|
+ t.string "identifier", null: false
+ t.string "name", null: false
+ t.string "type", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.string "code"
end
- add_index "global_lookups", ["identifier", "type"], :name => "index_global_lookups_on_identifier_and_type", :unique => true
- add_index "global_lookups", ["type"], :name => "index_global_lookups_on_type"
+ add_index "global_lookups", ["identifier", "type"], name: "index_global_lookups_on_identifier_and_type", unique: true, using: :btree
+ add_index "global_lookups", ["type"], name: "index_global_lookups_on_type", using: :btree
- create_table "gpa_by_academic_years", :force => true do |t|
+ create_table "gpa_by_academic_years", force: true do |t|
t.integer "identifier"
t.integer "applicant_id"
t.integer "academic_status_id"
- t.decimal "science_quality_points", :precision => 6, :scale => 2
- t.decimal "science_hours", :precision => 6, :scale => 2
- t.decimal "science_gpa", :precision => 3, :scale => 2
- t.decimal "non_hours", :precision => 6, :scale => 2
- t.decimal "non_gpa", :precision => 3, :scale => 2
- t.decimal "non_quality_points", :precision => 6, :scale => 2
- t.decimal "total_quality_points", :precision => 6, :scale => 2
- t.decimal "total_hours", :precision => 6, :scale => 2
- t.decimal "total_gpa", :precision => 3, :scale => 2
+ t.decimal "science_quality_points", precision: 6, scale: 2
+ t.decimal "science_hours", precision: 6, scale: 2
+ t.decimal "science_gpa", precision: 3, scale: 2
+ t.decimal "non_hours", precision: 6, scale: 2
+ t.decimal "non_gpa", precision: 3, scale: 2
+ t.decimal "non_quality_points", precision: 6, scale: 2
+ t.decimal "total_quality_points", precision: 6, scale: 2
+ t.decimal "total_hours", precision: 6, scale: 2
+ t.decimal "total_gpa", precision: 3, scale: 2
t.datetime "created_at"
t.datetime "updated_at"
t.string "code"
t.integer "academic_year_id"
- t.decimal "math_quality_points", :precision => 6, :scale => 2
- t.decimal "math_hours", :precision => 6, :scale => 2
- t.decimal "math_gpa", :precision => 3, :scale => 2
+ t.decimal "math_quality_points", precision: 6, scale: 2
+ t.decimal "math_hours", precision: 6, scale: 2
+ t.decimal "math_gpa", precision: 3, scale: 2
t.string "name"
- t.decimal "bcpm_hours", :precision => 6, :scale => 2
- t.decimal "bcpm_gpa", :precision => 3, :scale => 2
- t.decimal "ao_hours", :precision => 6, :scale => 2
- t.decimal "ao_gpa", :precision => 3, :scale => 2
+ t.decimal "bcpm_hours", precision: 6, scale: 2
+ t.decimal "bcpm_gpa", precision: 3, scale: 2
+ t.decimal "ao_hours", precision: 6, scale: 2
+ t.decimal "ao_gpa", precision: 3, scale: 2
end
- add_index "gpa_by_academic_years", ["academic_status_id"], :name => "index_gpa_by_academic_years_on_academic_status_id"
- add_index "gpa_by_academic_years", ["academic_year_id"], :name => "index_gpa_by_academic_years_on_academic_year_id"
- add_index "gpa_by_academic_years", ["applicant_id"], :name => "index_gpa_by_academic_years_on_applicant_id"
- add_index "gpa_by_academic_years", ["code"], :name => "index_gpa_by_academic_years_on_code"
- add_index "gpa_by_academic_years", ["identifier", "applicant_id"], :name => "index_gpa_by_academic_years_on_applicant_id_and_identifier"
- add_index "gpa_by_academic_years", ["identifier"], :name => "index_gpa_by_academic_years_on_identifier"
- add_index "gpa_by_academic_years", ["total_gpa"], :name => "index_gpa_by_academic_years_on_total_gpa"
+ add_index "gpa_by_academic_years", ["academic_status_id"], name: "index_gpa_by_academic_years_on_academic_status_id", using: :btree
+ add_index "gpa_by_academic_years", ["academic_year_id"], name: "index_gpa_by_academic_years_on_academic_year_id", using: :btree
+ add_index "gpa_by_academic_years", ["applicant_id"], name: "index_gpa_by_academic_years_on_applicant_id", using: :btree
+ add_index "gpa_by_academic_years", ["code"], name: "index_gpa_by_academic_years_on_code", using: :btree
+ add_index "gpa_by_academic_years", ["identifier", "applicant_id"], name: "index_gpa_by_academic_years_on_applicant_id_and_identifier", using: :btree
+ add_index "gpa_by_academic_years", ["identifier"], name: "index_gpa_by_academic_years_on_identifier", using: :btree
+ add_index "gpa_by_academic_years", ["total_gpa"], name: "index_gpa_by_academic_years_on_total_gpa", using: :btree
- create_table "gpa_by_subjects", :force => true do |t|
+ create_table "gpa_by_subjects", force: true do |t|
t.integer "identifier"
t.integer "applicant_id"
t.integer "subject_id"
- t.decimal "hours_grade", :precision => 6, :scale => 2
- t.decimal "quality_points", :precision => 6, :scale => 2
- t.decimal "gpa", :precision => 3, :scale => 2
+ t.decimal "hours_grade", precision: 6, scale: 2
+ t.decimal "quality_points", precision: 6, scale: 2
+ t.decimal "gpa", precision: 3, scale: 2
t.datetime "created_at"
t.datetime "updated_at"
t.integer "option_id"
- t.decimal "hours_with_grade_below_2", :precision => 6, :scale => 2
- t.decimal "undergraduate_hours_grade", :precision => 6, :scale => 2
- t.decimal "undergraduate_quality_points", :precision => 6, :scale => 2
- t.decimal "undergraduate_gpa", :precision => 6, :scale => 2
- t.decimal "graduate_hours_grade", :precision => 6, :scale => 2
- t.decimal "graduate_quality_points", :precision => 6, :scale => 2
- t.decimal "graduate_gpa", :precision => 6, :scale => 2
- t.decimal "gpa_without_plus_minus", :precision => 6, :scale => 2
- t.decimal "quality_points_without_plus_minus", :precision => 6, :scale => 2
- t.decimal "graduate_gpa_without_plus_minus", :precision => 6, :scale => 2
- t.decimal "graduate_quality_points_without_plus_minus", :precision => 6, :scale => 2
- t.decimal "undergraduate_gpa_without_plus_minus", :precision => 6, :scale => 2
- t.decimal "undergraduate_quality_points_without_plus_minus", :precision => 6, :scale => 2
+ t.decimal "hours_with_grade_below_2", precision: 6, scale: 2
+ t.decimal "undergraduate_hours_grade", precision: 6, scale: 2
+ t.decimal "undergraduate_quality_points", precision: 6, scale: 2
+ t.decimal "undergraduate_gpa", precision: 6, scale: 2
+ t.decimal "graduate_hours_grade", precision: 6, scale: 2
+ t.decimal "graduate_quality_points", precision: 6, scale: 2
+ t.decimal "graduate_gpa", precision: 6, scale: 2
+ t.decimal "gpa_without_plus_minus", precision: 6, scale: 2
+ t.decimal "quality_points_without_plus_minus", precision: 6, scale: 2
+ t.decimal "graduate_gpa_without_plus_minus", precision: 6, scale: 2
+ t.decimal "graduate_quality_points_without_plus_minus", precision: 6, scale: 2
+ t.decimal "undergraduate_gpa_without_plus_minus", precision: 6, scale: 2
+ t.decimal "undergraduate_quality_points_without_plus_minus", precision: 6, scale: 2
t.string "name"
end
- add_index "gpa_by_subjects", ["applicant_id"], :name => "index_gpa_by_subjects_on_applicant_id"
- add_index "gpa_by_subjects", ["identifier", "applicant_id"], :name => "index_gpa_by_subjects_on_identifier_and_applicant_id"
- add_index "gpa_by_subjects", ["identifier"], :name => "index_gpa_by_subjects_on_identifier"
- add_index "gpa_by_subjects", ["option_id"], :name => "index_gpa_by_subjects_on_option_id"
- add_index "gpa_by_subjects", ["subject_id"], :name => "index_gpa_by_subjects_on_subject_id"
+ add_index "gpa_by_subjects", ["applicant_id"], name: "index_gpa_by_subjects_on_applicant_id", using: :btree
+ add_index "gpa_by_subjects", ["identifier", "applicant_id"], name: "index_gpa_by_subjects_on_identifier_and_applicant_id", using: :btree
+ add_index "gpa_by_subjects", ["identifier"], name: "index_gpa_by_subjects_on_identifier", using: :btree
+ add_index "gpa_by_subjects", ["option_id"], name: "index_gpa_by_subjects_on_option_id", using: :btree
+ add_index "gpa_by_subjects", ["subject_id"], name: "index_gpa_by_subjects_on_subject_id", using: :btree
- create_table "gpa_by_transcripts", :force => true do |t|
+ create_table "gpa_by_transcripts", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.integer "school_id"
t.integer "school_level_id"
t.integer "term_type_id"
t.integer "transcript_type_id"
- t.decimal "credit_hours", :precision => 6, :scale => 2
- t.decimal "gpa", :precision => 14, :scale => 8
- t.decimal "quality_points", :precision => 6, :scale => 2
+ t.decimal "credit_hours", precision: 6, scale: 2
+ t.decimal "gpa", precision: 14, scale: 8
+ t.decimal "quality_points", precision: 6, scale: 2
t.boolean "transcript_not_available"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "gpa_by_transcripts", ["applicant_id"], :name => "index_gpa_by_transcripts_on_applicant_id"
+ add_index "gpa_by_transcripts", ["applicant_id"], name: "index_gpa_by_transcripts_on_applicant_id", using: :btree
- create_table "gpa_calculator_course_filters", :force => true do |t|
+ create_table "gpa_calculator_course_filters", force: true do |t|
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "gpa_supplemental_hours", :force => true do |t|
+ create_table "gpa_supplemental_hours", force: true do |t|
t.integer "applicant_id"
- t.decimal "supplemental_advanced_placement_hours", :precision => 6, :scale => 2
- t.decimal "supplemental_clep_hours", :precision => 6, :scale => 2
- t.decimal "supplemental_other_hours", :precision => 6, :scale => 2
- t.decimal "supplemental_failed_hours", :precision => 6, :scale => 2
- t.decimal "supplemental_passed_hours", :precision => 6, :scale => 2
+ t.decimal "supplemental_advanced_placement_hours", precision: 6, scale: 2
+ t.decimal "supplemental_clep_hours", precision: 6, scale: 2
+ t.decimal "supplemental_other_hours", precision: 6, scale: 2
+ t.decimal "supplemental_failed_hours", precision: 6, scale: 2
+ t.decimal "supplemental_passed_hours", precision: 6, scale: 2
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "gpa_supplemental_hours", ["applicant_id"], :name => "index_gpa_supplemental_hours_on_applicant_id"
+ add_index "gpa_supplemental_hours", ["applicant_id"], name: "index_gpa_supplemental_hours_on_applicant_id", using: :btree
- create_table "gpa_templates", :force => true do |t|
+ create_table "gpa_templates", force: true do |t|
t.integer "organization_id"
- t.string "name", :null => false
+ t.string "name", null: false
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "include", :default => true
- t.boolean "deletable", :default => true
+ t.boolean "include", default: true
+ t.boolean "deletable", default: true
t.integer "association_id"
- t.boolean "calculating", :default => false
- t.boolean "active", :default => false, :null => false
+ t.boolean "calculating", default: false
+ t.boolean "active", default: false, null: false
t.integer "order"
t.integer "minimum_calendar_year"
t.integer "grade_numeric_converter_id"
@@ -3553,71 +3558,71 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "type"
t.boolean "by_school"
t.integer "cas_gpa_type_id"
- t.boolean "use_only_transferable", :default => false
+ t.boolean "use_only_transferable", default: false
end
- add_index "gpa_templates", ["association_id"], :name => "index_gpa_templates_on_association_id"
- add_index "gpa_templates", ["organization_id"], :name => "index_gpa_templates_on_organization_id"
- add_index "gpa_templates", ["use_only_transferable"], :name => "index_gpa_templates_on_use_only_transferable"
+ add_index "gpa_templates", ["association_id"], name: "index_gpa_templates_on_association_id", using: :btree
+ add_index "gpa_templates", ["organization_id"], name: "index_gpa_templates_on_organization_id", using: :btree
+ add_index "gpa_templates", ["use_only_transferable"], name: "index_gpa_templates_on_use_only_transferable", using: :btree
- create_table "gpa_templates_programs", :force => true do |t|
+ create_table "gpa_templates_programs", force: true do |t|
t.integer "program_id"
t.integer "gpa_template_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "gpa_templates_programs", ["gpa_template_id"], :name => "index_gpa_templates_programs_on_gpa_template_id"
- add_index "gpa_templates_programs", ["program_id"], :name => "index_gpa_templates_programs_on_program_id"
+ add_index "gpa_templates_programs", ["gpa_template_id"], name: "index_gpa_templates_programs_on_gpa_template_id", using: :btree
+ add_index "gpa_templates_programs", ["program_id"], name: "index_gpa_templates_programs_on_program_id", using: :btree
- create_table "gpa_templates_subjects", :force => true do |t|
- t.integer "subject_id", :null => false
- t.integer "gpa_template_id", :null => false
- t.boolean "removed", :default => false
+ create_table "gpa_templates_subjects", force: true do |t|
+ t.integer "subject_id", null: false
+ t.integer "gpa_template_id", null: false
+ t.boolean "removed", default: false
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "gpa_templates_subjects", ["gpa_template_id"], :name => "index_gpa_templates_subjects_on_gpa_template_id"
- add_index "gpa_templates_subjects", ["subject_id"], :name => "index_gpa_templates_subjects_on_subject_id"
+ add_index "gpa_templates_subjects", ["gpa_template_id"], name: "index_gpa_templates_subjects_on_gpa_template_id", using: :btree
+ add_index "gpa_templates_subjects", ["subject_id"], name: "index_gpa_templates_subjects_on_subject_id", using: :btree
- create_table "gpas_by_classification", :force => true do |t|
+ create_table "gpas_by_classification", force: true do |t|
t.integer "identifier"
t.integer "applicant_id"
t.integer "classification_id"
- t.decimal "credit_hours", :precision => 6, :scale => 2
- t.decimal "gpa", :precision => 3, :scale => 2
- t.decimal "quality_points", :precision => 6, :scale => 2
+ t.decimal "credit_hours", precision: 6, scale: 2
+ t.decimal "gpa", precision: 3, scale: 2
+ t.decimal "quality_points", precision: 6, scale: 2
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "gpas_by_classification", ["applicant_id"], :name => "index_gpas_by_classification_on_applicant_id"
- add_index "gpas_by_classification", ["classification_id"], :name => "index_gpas_by_classification_on_classification_id"
+ add_index "gpas_by_classification", ["applicant_id"], name: "index_gpas_by_classification_on_applicant_id", using: :btree
+ add_index "gpas_by_classification", ["classification_id"], name: "index_gpas_by_classification_on_classification_id", using: :btree
- create_table "gpas_by_school", :force => true do |t|
+ create_table "gpas_by_school", force: true do |t|
t.string "identifier"
t.integer "applicant_id"
t.integer "college_id"
- t.decimal "credit_hours", :precision => 6, :scale => 2
- t.decimal "gpa", :precision => 3, :scale => 2
- t.decimal "quality_points", :precision => 6, :scale => 2
+ t.decimal "credit_hours", precision: 6, scale: 2
+ t.decimal "gpa", precision: 3, scale: 2
+ t.decimal "quality_points", precision: 6, scale: 2
t.datetime "updated_at"
t.datetime "created_at"
t.string "name"
end
- add_index "gpas_by_school", ["applicant_id"], :name => "index_gpas_by_school_on_applicant_id"
- add_index "gpas_by_school", ["college_id"], :name => "index_gpas_by_school_on_college_id"
- add_index "gpas_by_school", ["identifier"], :name => "index_gpas_by_school_on_identifier"
+ add_index "gpas_by_school", ["applicant_id"], name: "index_gpas_by_school_on_applicant_id", using: :btree
+ add_index "gpas_by_school", ["college_id"], name: "index_gpas_by_school_on_college_id", using: :btree
+ add_index "gpas_by_school", ["identifier"], name: "index_gpas_by_school_on_identifier", using: :btree
- create_table "grade_numeric_converters", :force => true do |t|
+ create_table "grade_numeric_converters", force: true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "grades", :force => true do |t|
+ create_table "grades", force: true do |t|
t.string "value"
t.string "code"
t.integer "association_id"
@@ -3626,10 +3631,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "grades", ["association_id"], :name => "index_grades_on_association_id"
- add_index "grades", ["type"], :name => "index_grades_on_type"
+ add_index "grades", ["association_id"], name: "index_grades_on_association_id", using: :btree
+ add_index "grades", ["type"], name: "index_grades_on_type", using: :btree
- create_table "guardians", :force => true do |t|
+ create_table "guardians", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.integer "relationship_id"
@@ -3685,14 +3690,14 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "alternate_phone_type_id"
end
- add_index "guardians", ["applicant_id"], :name => "index_guardians_on_applicant_id"
- add_index "guardians", ["csu_education_id"], :name => "index_guardians_on_csu_education_id"
- add_index "guardians", ["first_prior_country_id"], :name => "index_guardians_on_first_prior_country_id"
- add_index "guardians", ["mailing_country_id"], :name => "index_guardians_on_mailing_country_id"
- add_index "guardians", ["mailing_county_id"], :name => "index_guardians_on_mailing_county_id"
- add_index "guardians", ["second_prior_country_id"], :name => "index_guardians_on_second_prior_country_id"
+ add_index "guardians", ["applicant_id"], name: "index_guardians_on_applicant_id", using: :btree
+ add_index "guardians", ["csu_education_id"], name: "index_guardians_on_csu_education_id", using: :btree
+ add_index "guardians", ["first_prior_country_id"], name: "index_guardians_on_first_prior_country_id", using: :btree
+ add_index "guardians", ["mailing_country_id"], name: "index_guardians_on_mailing_country_id", using: :btree
+ add_index "guardians", ["mailing_county_id"], name: "index_guardians_on_mailing_county_id", using: :btree
+ add_index "guardians", ["second_prior_country_id"], name: "index_guardians_on_second_prior_country_id", using: :btree
- create_table "health_related_certification_trainings", :force => true do |t|
+ create_table "health_related_certification_trainings", force: true do |t|
t.integer "type"
t.string "sponsor"
t.date "start_date"
@@ -3705,11 +3710,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "training_type"
end
- add_index "health_related_certification_trainings", ["applicant_id"], :name => "index_health_related_certification_trainings_on_applicant_id"
- add_index "health_related_certification_trainings", ["identifier"], :name => "index_health_related_certification_trainings_on_identifier"
- add_index "health_related_certification_trainings", ["type"], :name => "index_health_related_certification_trainings_on_type"
+ add_index "health_related_certification_trainings", ["applicant_id"], name: "index_health_related_certification_trainings_on_applicant_id", using: :btree
+ add_index "health_related_certification_trainings", ["identifier"], name: "index_health_related_certification_trainings_on_identifier", using: :btree
+ add_index "health_related_certification_trainings", ["type"], name: "index_health_related_certification_trainings_on_type", using: :btree
- create_table "help_texts", :force => true do |t|
+ create_table "help_texts", force: true do |t|
t.string "key"
t.string "title"
t.text "location_description"
@@ -3718,7 +3723,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "honors_and_awards", :force => true do |t|
+ create_table "honors_and_awards", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.text "name"
@@ -3737,13 +3742,13 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "contact_phone"
t.string "level"
t.boolean "peer_reviewed"
- t.boolean "most_important", :default => false
+ t.boolean "most_important", default: false
end
- add_index "honors_and_awards", ["applicant_id"], :name => "index_honors_and_awards_on_applicant_id"
- add_index "honors_and_awards", ["identifier"], :name => "index_honors_and_awards_on_identifier"
+ add_index "honors_and_awards", ["applicant_id"], name: "index_honors_and_awards_on_applicant_id", using: :btree
+ add_index "honors_and_awards", ["identifier"], name: "index_honors_and_awards_on_identifier", using: :btree
- create_table "indicators", :force => true do |t|
+ create_table "indicators", force: true do |t|
t.string "name"
t.boolean "identifier"
t.integer "association_id"
@@ -3751,7 +3756,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "influential_factors", :force => true do |t|
+ create_table "influential_factors", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -3759,11 +3764,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "influential_factors", ["association_id", "identifier"], :name => "index_influential_factors_on_association_id_and_identifier"
- add_index "influential_factors", ["association_id"], :name => "index_influential_factors_on_association_id"
- add_index "influential_factors", ["identifier"], :name => "index_influential_factors_on_identifier"
+ add_index "influential_factors", ["association_id", "identifier"], name: "index_influential_factors_on_association_id_and_identifier", using: :btree
+ add_index "influential_factors", ["association_id"], name: "index_influential_factors_on_association_id", using: :btree
+ add_index "influential_factors", ["identifier"], name: "index_influential_factors_on_identifier", using: :btree
- create_table "inpatient_settings", :force => true do |t|
+ create_table "inpatient_settings", force: true do |t|
t.string "inpatient_setting_id"
t.integer "children_and_youth_hours_completed"
t.integer "children_and_youth_hours_planned"
@@ -3801,27 +3806,27 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "rehabilitation_subacute_hours_planned"
end
- add_index "inpatient_settings", ["applicant_id"], :name => "index_inpatient_settings_on_applicant_id"
- add_index "inpatient_settings", ["observation_hour_id"], :name => "index_inpatient_settings_on_observation_hour_id"
+ add_index "inpatient_settings", ["applicant_id"], name: "index_inpatient_settings_on_applicant_id", using: :btree
+ add_index "inpatient_settings", ["observation_hour_id"], name: "index_inpatient_settings_on_observation_hour_id", using: :btree
- create_table "institutions", :force => true do |t|
+ create_table "institutions", force: true do |t|
t.string "name"
t.string "identifier"
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "active", :default => true, :null => false
+ t.boolean "active", default: true, null: false
end
- create_table "interview_dates", :force => true do |t|
+ create_table "interview_dates", force: true do |t|
t.integer "interview_type_id"
t.date "date"
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "interview_dates", ["interview_type_id"], :name => "index_interview_dates_on_interview_type_id"
+ add_index "interview_dates", ["interview_type_id"], name: "index_interview_dates_on_interview_type_id", using: :btree
- create_table "interview_locations", :force => true do |t|
+ create_table "interview_locations", force: true do |t|
t.boolean "active"
t.integer "interview_type_id"
t.string "name"
@@ -3829,9 +3834,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "interview_locations", ["interview_type_id"], :name => "index_interview_locations_on_interview_type_id"
+ add_index "interview_locations", ["interview_type_id"], name: "index_interview_locations_on_interview_type_id", using: :btree
- create_table "interview_slots", :force => true do |t|
+ create_table "interview_slots", force: true do |t|
t.boolean "active"
t.integer "interview_date_id"
t.integer "interview_time_id"
@@ -3843,33 +3848,33 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "time"
end
- add_index "interview_slots", ["interview_date_id"], :name => "index_interview_slots_on_interview_date_id"
- add_index "interview_slots", ["interview_time_id"], :name => "index_interview_slots_on_interview_time_id"
- add_index "interview_slots", ["interview_type_id"], :name => "index_interview_slots_on_interview_type_id"
+ add_index "interview_slots", ["interview_date_id"], name: "index_interview_slots_on_interview_date_id", using: :btree
+ add_index "interview_slots", ["interview_time_id"], name: "index_interview_slots_on_interview_time_id", using: :btree
+ add_index "interview_slots", ["interview_type_id"], name: "index_interview_slots_on_interview_type_id", using: :btree
- create_table "interview_slots_user_identities", :id => false, :force => true do |t|
+ create_table "interview_slots_user_identities", id: false, force: true do |t|
t.integer "interview_slot_id"
t.integer "user_identity_id"
end
- create_table "interview_slots_users", :id => false, :force => true do |t|
+ create_table "interview_slots_users", id: false, force: true do |t|
t.integer "interview_slot_id"
t.integer "user_id"
end
- add_index "interview_slots_users", ["interview_slot_id"], :name => "index_interview_slots_users_on_interview_slot_id"
- add_index "interview_slots_users", ["user_id"], :name => "index_interview_slots_users_on_user_id"
+ add_index "interview_slots_users", ["interview_slot_id"], name: "index_interview_slots_users_on_interview_slot_id", using: :btree
+ add_index "interview_slots_users", ["user_id"], name: "index_interview_slots_users_on_user_id", using: :btree
- create_table "interview_times", :force => true do |t|
+ create_table "interview_times", force: true do |t|
t.integer "interview_type_id"
t.integer "time"
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "interview_times", ["interview_type_id"], :name => "index_interview_times_on_interview_type_id"
+ add_index "interview_times", ["interview_type_id"], name: "index_interview_times_on_interview_type_id", using: :btree
- create_table "known_cases", :force => true do |t|
+ create_table "known_cases", force: true do |t|
t.integer "user_id"
t.integer "cas_id"
t.integer "source_id"
@@ -3878,7 +3883,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "known_organizations", :force => true do |t|
+ create_table "known_organizations", force: true do |t|
t.integer "user_id"
t.integer "organization_id"
t.integer "source_id"
@@ -3887,11 +3892,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "known_organizations", ["organization_id"], :name => "index_known_organizations_on_organization_id"
- add_index "known_organizations", ["source_id", "source_type"], :name => "index_known_organizations_on_source_id_and_source_type"
- add_index "known_organizations", ["user_id"], :name => "index_known_organizations_on_user_id"
+ add_index "known_organizations", ["organization_id"], name: "index_known_organizations_on_organization_id", using: :btree
+ add_index "known_organizations", ["source_id", "source_type"], name: "index_known_organizations_on_source_id_and_source_type", using: :btree
+ add_index "known_organizations", ["user_id"], name: "index_known_organizations_on_user_id", using: :btree
- create_table "language_proficiencies", :force => true do |t|
+ create_table "language_proficiencies", force: true do |t|
t.integer "applicant_id"
t.integer "identifier"
t.integer "language_id"
@@ -3899,24 +3904,24 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "writing_proficiency_id"
t.integer "speaking_proficiency_id"
t.integer "reading_proficiency_id"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "language_proficiency_level_id"
t.integer "language_use_in_home_id"
t.string "language_name_other"
end
- add_index "language_proficiencies", ["applicant_id"], :name => "index_language_proficiencies_on_applicant_id"
- add_index "language_proficiencies", ["identifier"], :name => "index_language_proficiencies_on_identifier"
- add_index "language_proficiencies", ["language_id"], :name => "index_language_proficiencies_on_language_id"
- add_index "language_proficiencies", ["language_proficiency_level_id"], :name => "index_language_proficiencies_on_language_proficiency_level_id"
- add_index "language_proficiencies", ["listening_proficiency_id"], :name => "index_language_proficiencies_on_listening_proficiency_id"
- add_index "language_proficiencies", ["reading_proficiency_id"], :name => "index_language_proficiencies_on_reading_proficiency_id"
- add_index "language_proficiencies", ["speaking_proficiency_id"], :name => "index_language_proficiencies_on_speaking_proficiency_id"
- add_index "language_proficiencies", ["writing_proficiency_id"], :name => "index_language_proficiencies_on_writing_proficiency_id"
+ add_index "language_proficiencies", ["applicant_id"], name: "index_language_proficiencies_on_applicant_id", using: :btree
+ add_index "language_proficiencies", ["identifier"], name: "index_language_proficiencies_on_identifier", using: :btree
+ add_index "language_proficiencies", ["language_id"], name: "index_language_proficiencies_on_language_id", using: :btree
+ add_index "language_proficiencies", ["language_proficiency_level_id"], name: "index_language_proficiencies_on_language_proficiency_level_id", using: :btree
+ add_index "language_proficiencies", ["listening_proficiency_id"], name: "index_language_proficiencies_on_listening_proficiency_id", using: :btree
+ add_index "language_proficiencies", ["reading_proficiency_id"], name: "index_language_proficiencies_on_reading_proficiency_id", using: :btree
+ add_index "language_proficiencies", ["speaking_proficiency_id"], name: "index_language_proficiencies_on_speaking_proficiency_id", using: :btree
+ add_index "language_proficiencies", ["writing_proficiency_id"], name: "index_language_proficiencies_on_writing_proficiency_id", using: :btree
- create_table "language_proficiency_levels", :force => true do |t|
- t.integer "association_id", :null => false
+ create_table "language_proficiency_levels", force: true do |t|
+ t.integer "association_id", null: false
t.string "name"
t.string "identifier"
t.string "code"
@@ -3924,11 +3929,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "language_proficiency_levels", ["association_id", "identifier"], :name => "index_language_proficiency_levels_db172cd1dd"
- add_index "language_proficiency_levels", ["association_id"], :name => "index_language_proficiency_levels_on_association_id"
- add_index "language_proficiency_levels", ["identifier"], :name => "index_language_proficiency_levels_on_identifier"
+ add_index "language_proficiency_levels", ["association_id", "identifier"], name: "index_language_proficiency_levels_db172cd1dd", using: :btree
+ add_index "language_proficiency_levels", ["association_id"], name: "index_language_proficiency_levels_on_association_id", using: :btree
+ add_index "language_proficiency_levels", ["identifier"], name: "index_language_proficiency_levels_on_identifier", using: :btree
- create_table "languages", :force => true do |t|
+ create_table "languages", force: true do |t|
t.string "identifier"
t.string "name"
t.datetime "created_at"
@@ -3936,17 +3941,17 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "association_id"
end
- add_index "languages", ["association_id", "identifier"], :name => "index_languages_on_association_id_and_identifier"
- add_index "languages", ["association_id"], :name => "index_languages_on_association_id"
- add_index "languages", ["identifier"], :name => "index_languages_on_identifier"
+ add_index "languages", ["association_id", "identifier"], name: "index_languages_on_association_id_and_identifier", using: :btree
+ add_index "languages", ["association_id"], name: "index_languages_on_association_id", using: :btree
+ add_index "languages", ["identifier"], name: "index_languages_on_identifier", using: :btree
- create_table "licenses", :force => true do |t|
+ create_table "licenses", force: true do |t|
t.date "issued_date"
t.datetime "created_at"
t.datetime "updated_at"
t.string "identifier"
t.integer "applicant_id"
- t.string "license_type", :limit => 600
+ t.string "license_type", limit: 600
t.string "license_country"
t.string "name"
t.string "state"
@@ -3959,39 +3964,39 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "state_name"
t.text "description"
t.string "narrow_field_type"
- t.boolean "most_important", :default => false
+ t.boolean "most_important", default: false
end
- add_index "licenses", ["applicant_id"], :name => "index_licenses_on_applicant_id"
- add_index "licenses", ["identifier"], :name => "index_licenses_on_identifier"
- add_index "licenses", ["narrow_field_type"], :name => "index_licenses_on_narrow_field_type"
+ add_index "licenses", ["applicant_id"], name: "index_licenses_on_applicant_id", using: :btree
+ add_index "licenses", ["identifier"], name: "index_licenses_on_identifier", using: :btree
+ add_index "licenses", ["narrow_field_type"], name: "index_licenses_on_narrow_field_type", using: :btree
- create_table "list_include", :id => false, :force => true do |t|
+ create_table "list_include", id: false, force: true do |t|
t.integer "list_id"
t.integer "applicant_id"
end
- add_index "list_include", ["applicant_id"], :name => "index_list_include_on_applicant_id"
- add_index "list_include", ["list_id", "applicant_id"], :name => "index_list_include_on_list_id_and_applicant_id", :unique => true
+ add_index "list_include", ["applicant_id"], name: "index_list_include_on_applicant_id", using: :btree
+ add_index "list_include", ["list_id", "applicant_id"], name: "index_list_include_on_list_id_and_applicant_id", unique: true, using: :btree
- create_table "list_operators", :force => true do |t|
+ create_table "list_operators", force: true do |t|
t.string "name"
t.string "operator"
t.datetime "updated_at"
t.datetime "created_at"
end
- create_table "list_statuses", :force => true do |t|
- t.integer "list_id", :null => false
- t.integer "user_identity_id", :null => false
+ create_table "list_statuses", force: true do |t|
+ t.integer "list_id", null: false
+ t.integer "user_identity_id", null: false
t.boolean "state"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "list_statuses", ["list_id", "user_identity_id"], :name => "index_list_statuses_on_list_id_and_user_identity_id", :unique => true
+ add_index "list_statuses", ["list_id", "user_identity_id"], name: "index_list_statuses_on_list_id_and_user_identity_id", unique: true, using: :btree
- create_table "lists", :force => true do |t|
+ create_table "lists", force: true do |t|
t.string "name"
t.text "description"
t.datetime "deleted_at"
@@ -4005,58 +4010,58 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.boolean "show_on_toolbar"
t.integer "order"
t.integer "user_identity_id"
- t.string "type", :limit => 48
+ t.string "type", limit: 48
t.integer "previous_cycle_list_id"
end
- add_index "lists", ["list_operator_id"], :name => "index_lists_on_list_operator_id"
- add_index "lists", ["organization_id"], :name => "index_lists_on_organization_id"
- add_index "lists", ["program_id"], :name => "index_lists_on_program_id"
- add_index "lists", ["type"], :name => "index_lists_on_type"
- add_index "lists", ["user_id"], :name => "index_lists_on_user_id"
- add_index "lists", ["user_identity_id"], :name => "index_lists_on_user_identity_id"
- add_index "lists", ["visibility"], :name => "index_lists_on_visibility"
+ add_index "lists", ["list_operator_id"], name: "index_lists_on_list_operator_id", using: :btree
+ add_index "lists", ["organization_id"], name: "index_lists_on_organization_id", using: :btree
+ add_index "lists", ["program_id"], name: "index_lists_on_program_id", using: :btree
+ add_index "lists", ["type"], name: "index_lists_on_type", using: :btree
+ add_index "lists", ["user_id"], name: "index_lists_on_user_id", using: :btree
+ add_index "lists", ["user_identity_id"], name: "index_lists_on_user_identity_id", using: :btree
+ add_index "lists", ["visibility"], name: "index_lists_on_visibility", using: :btree
- create_table "lists_work_groups", :id => false, :force => true do |t|
+ create_table "lists_work_groups", id: false, force: true do |t|
t.integer "list_id"
t.integer "work_group_id"
end
- add_index "lists_work_groups", ["list_id", "work_group_id"], :name => "index_lists_work_groups_on_list_id_and_work_group_id"
+ add_index "lists_work_groups", ["list_id", "work_group_id"], name: "index_lists_work_groups_on_list_id_and_work_group_id", using: :btree
- create_table "local_gpas", :force => true do |t|
+ create_table "local_gpas", force: true do |t|
t.integer "applicant_id"
- t.decimal "hours", :precision => 6, :scale => 2, :default => 0.0
- t.decimal "quality_points", :precision => 10, :scale => 3
+ t.decimal "hours", precision: 6, scale: 2, default: 0.0
+ t.decimal "quality_points", precision: 10, scale: 3
t.datetime "created_at"
t.datetime "updated_at"
t.integer "gpa_template_id"
- t.decimal "gpa", :precision => 3, :scale => 2, :default => 0.0
- t.boolean "to_recalculate", :default => true
- t.boolean "overall", :default => false
+ t.decimal "gpa", precision: 3, scale: 2, default: 0.0
+ t.boolean "to_recalculate", default: true
+ t.boolean "overall", default: false
t.integer "group_object_id"
t.string "group_object_type"
t.integer "grouping_object_id"
end
- add_index "local_gpas", ["applicant_id", "gpa_template_id"], :name => "index_local_gpas_on_applicant_id_and_gpa_template_id", :unique => true
- add_index "local_gpas", ["applicant_id"], :name => "index_local_gpas_on_applicant_id"
- add_index "local_gpas", ["gpa_template_id"], :name => "index_local_gpas_on_gpa_template_id"
+ add_index "local_gpas", ["applicant_id", "gpa_template_id"], name: "index_local_gpas_on_applicant_id_and_gpa_template_id", unique: true, using: :btree
+ add_index "local_gpas", ["applicant_id"], name: "index_local_gpas_on_applicant_id", using: :btree
+ add_index "local_gpas", ["gpa_template_id"], name: "index_local_gpas_on_gpa_template_id", using: :btree
- create_table "local_gpas_courses", :force => true do |t|
+ create_table "local_gpas_courses", force: true do |t|
t.integer "local_gpa_id"
t.integer "course_id"
- t.boolean "deleted", :default => false
+ t.boolean "deleted", default: false
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "local_gpas_courses", ["course_id", "local_gpa_id"], :name => "index_local_gpas_courses_on_course_id_and_local_gpa_id"
- add_index "local_gpas_courses", ["course_id"], :name => "index_local_gpas_courses_on_course_id"
- add_index "local_gpas_courses", ["local_gpa_id"], :name => "index_local_gpas_courses_on_local_gpa_id"
+ add_index "local_gpas_courses", ["course_id", "local_gpa_id"], name: "index_local_gpas_courses_on_course_id_and_local_gpa_id", using: :btree
+ add_index "local_gpas_courses", ["course_id"], name: "index_local_gpas_courses_on_course_id", using: :btree
+ add_index "local_gpas_courses", ["local_gpa_id"], name: "index_local_gpas_courses_on_local_gpa_id", using: :btree
- create_table "local_statuses", :force => true do |t|
- t.integer "organization_id", :null => false
+ create_table "local_statuses", force: true do |t|
+ t.integer "organization_id", null: false
t.text "description"
t.string "title"
t.datetime "created_at"
@@ -4064,35 +4069,35 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "color_map_id"
t.integer "decision_id"
t.integer "order"
- t.boolean "active", :default => true, :null => false
+ t.boolean "active", default: true, null: false
t.integer "email_template_id"
end
- add_index "local_statuses", ["color_map_id"], :name => "index_local_statuses_on_color_map_id"
- add_index "local_statuses", ["decision_id"], :name => "index_local_statuses_on_decision_id"
- add_index "local_statuses", ["email_template_id"], :name => "index_local_statuses_on_email_template_id"
- add_index "local_statuses", ["organization_id"], :name => "index_local_statuses_on_organization_id"
+ add_index "local_statuses", ["color_map_id"], name: "index_local_statuses_on_color_map_id", using: :btree
+ add_index "local_statuses", ["decision_id"], name: "index_local_statuses_on_decision_id", using: :btree
+ add_index "local_statuses", ["email_template_id"], name: "index_local_statuses_on_email_template_id", using: :btree
+ add_index "local_statuses", ["organization_id"], name: "index_local_statuses_on_organization_id", using: :btree
- create_table "local_statuses_programs", :force => true do |t|
+ create_table "local_statuses_programs", force: true do |t|
t.integer "local_status_id"
t.integer "program_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "local_statuses_programs", ["local_status_id"], :name => "index_local_status_designations_on_local_status_id"
- add_index "local_statuses_programs", ["program_id"], :name => "index_local_status_designations_on_program_id"
+ add_index "local_statuses_programs", ["local_status_id"], name: "index_local_status_designations_on_local_status_id", using: :btree
+ add_index "local_statuses_programs", ["program_id"], name: "index_local_status_designations_on_program_id", using: :btree
- create_table "lookup_updates", :force => true do |t|
+ create_table "lookup_updates", force: true do |t|
t.integer "association_id"
t.integer "timestamp"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "lookup_updates", ["association_id"], :name => "index_lookup_updates_on_association_id"
+ add_index "lookup_updates", ["association_id"], name: "index_lookup_updates_on_association_id", using: :btree
- create_table "lookups", :force => true do |t|
+ create_table "lookups", force: true do |t|
t.integer "association_id"
t.string "name"
t.string "type"
@@ -4102,23 +4107,23 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "lookups", ["association_id", "identifier"], :name => "index_lookups_on_association_id_and_identifier"
- add_index "lookups", ["association_id"], :name => "index_lookups_on_association_id"
- add_index "lookups", ["identifier"], :name => "index_lookups_on_identifier"
- add_index "lookups", ["type"], :name => "index_lookups_on_type"
+ add_index "lookups", ["association_id", "identifier"], name: "index_lookups_on_association_id_and_identifier", using: :btree
+ add_index "lookups", ["association_id"], name: "index_lookups_on_association_id", using: :btree
+ add_index "lookups", ["identifier"], name: "index_lookups_on_identifier", using: :btree
+ add_index "lookups", ["type"], name: "index_lookups_on_type", using: :btree
- create_table "lookups_syncs", :force => true do |t|
- t.integer "association_id", :null => false
- t.integer "user_identity_id", :null => false
- t.string "status", :null => false
+ create_table "lookups_syncs", force: true do |t|
+ t.integer "association_id", null: false
+ t.integer "user_identity_id", null: false
+ t.string "status", null: false
t.text "message"
- t.datetime "start_time", :null => false
+ t.datetime "start_time", null: false
t.datetime "end_time"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- create_table "mailings", :force => true do |t|
+ create_table "mailings", force: true do |t|
t.integer "mailing_number"
t.date "mailed_at"
t.datetime "created_at"
@@ -4129,12 +4134,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "identifier"
end
- add_index "mailings", ["association_id", "identifier"], :name => "index_mailings_on_association_id_and_identifier"
- add_index "mailings", ["association_id"], :name => "index_mailings_on_association_id"
- add_index "mailings", ["identifier"], :name => "index_mailings_on_identifier"
- add_index "mailings", ["mailing_number"], :name => "index_mailings_on_mailing_number"
+ add_index "mailings", ["association_id", "identifier"], name: "index_mailings_on_association_id_and_identifier", using: :btree
+ add_index "mailings", ["association_id"], name: "index_mailings_on_association_id", using: :btree
+ add_index "mailings", ["identifier"], name: "index_mailings_on_identifier", using: :btree
+ add_index "mailings", ["mailing_number"], name: "index_mailings_on_mailing_number", using: :btree
- create_table "majors", :force => true do |t|
+ create_table "majors", force: true do |t|
t.string "name"
t.integer "identifier"
t.datetime "created_at"
@@ -4143,11 +4148,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "code"
end
- add_index "majors", ["association_id", "identifier"], :name => "index_majors_on_association_id_and_identifier"
- add_index "majors", ["association_id"], :name => "index_majors_on_association_id"
- add_index "majors", ["identifier"], :name => "index_majors_on_identifier"
+ add_index "majors", ["association_id", "identifier"], name: "index_majors_on_association_id_and_identifier", using: :btree
+ add_index "majors", ["association_id"], name: "index_majors_on_association_id", using: :btree
+ add_index "majors", ["identifier"], name: "index_majors_on_identifier", using: :btree
- create_table "master_colleges", :force => true do |t|
+ create_table "master_colleges", force: true do |t|
t.string "name"
t.string "identifier"
t.string "state"
@@ -4162,9 +4167,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "regionally_accredited_id"
end
- create_table "master_secondary_schools", :force => true do |t|
- t.string "identifier", :null => false
- t.string "code", :null => false
+ create_table "master_secondary_schools", force: true do |t|
+ t.string "identifier", null: false
+ t.string "code", null: false
t.string "name"
t.string "country"
t.string "address1"
@@ -4178,44 +4183,44 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "mean_personal_potential_index_scores", :force => true do |t|
+ create_table "mean_personal_potential_index_scores", force: true do |t|
t.integer "applicant_id"
- t.decimal "communication_skills_score", :precision => 5, :scale => 4
- t.decimal "ethics_and_integrity_score", :precision => 5, :scale => 4
+ t.decimal "communication_skills_score", precision: 5, scale: 4
+ t.decimal "ethics_and_integrity_score", precision: 5, scale: 4
t.string "identifier"
- t.decimal "knowledge_and_creativity_score", :precision => 5, :scale => 4
- t.decimal "overall_score", :precision => 5, :scale => 4
- t.decimal "planning_and_organization_score", :precision => 5, :scale => 4
- t.decimal "resilience_score", :precision => 5, :scale => 4
- t.decimal "teamwork_score", :precision => 5, :scale => 4
+ t.decimal "knowledge_and_creativity_score", precision: 5, scale: 4
+ t.decimal "overall_score", precision: 5, scale: 4
+ t.decimal "planning_and_organization_score", precision: 5, scale: 4
+ t.decimal "resilience_score", precision: 5, scale: 4
+ t.decimal "teamwork_score", precision: 5, scale: 4
t.datetime "created_at"
t.datetime "updated_at"
t.date "received_date"
end
- add_index "mean_personal_potential_index_scores", ["applicant_id"], :name => "index_mean_personal_potential_index_scores_on_applicant_id"
- add_index "mean_personal_potential_index_scores", ["identifier"], :name => "index_mean_personal_potential_index_scores_on_identifier"
+ add_index "mean_personal_potential_index_scores", ["applicant_id"], name: "index_mean_personal_potential_index_scores_on_applicant_id", using: :btree
+ add_index "mean_personal_potential_index_scores", ["identifier"], name: "index_mean_personal_potential_index_scores_on_identifier", using: :btree
- create_table "medical_trainings", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.string "identifier", :null => false
- t.string "type", :null => false
+ create_table "medical_trainings", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.string "identifier", null: false
+ t.string "type", null: false
t.integer "medical_training_type_id"
t.text "other_type_name"
- t.date "start_date", :null => false
+ t.date "start_date", null: false
t.date "end_date"
t.datetime "created_at"
t.datetime "updated_at"
t.string "name"
end
- add_index "medical_trainings", ["applicant_id"], :name => "index_medical_trainings_on_applicant_id"
- add_index "medical_trainings", ["identifier"], :name => "index_medical_trainings_on_identifier"
- add_index "medical_trainings", ["medical_training_type_id"], :name => "index_medical_trainings_on_medical_training_type_id"
- add_index "medical_trainings", ["type"], :name => "index_medical_trainings_on_type"
+ add_index "medical_trainings", ["applicant_id"], name: "index_medical_trainings_on_applicant_id", using: :btree
+ add_index "medical_trainings", ["identifier"], name: "index_medical_trainings_on_identifier", using: :btree
+ add_index "medical_trainings", ["medical_training_type_id"], name: "index_medical_trainings_on_medical_training_type_id", using: :btree
+ add_index "medical_trainings", ["type"], name: "index_medical_trainings_on_type", using: :btree
- create_table "military_services", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "military_services", force: true do |t|
+ t.integer "applicant_id", null: false
t.date "date_of_separation"
t.boolean "montgomery_gi_bill_eligibility"
t.boolean "post911_gi_bill_eligibility"
@@ -4227,9 +4232,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "us_armed_forces_status_upon_enrollment_id"
end
- add_index "military_services", ["applicant_id"], :name => "index_military_services_on_applicant_id"
+ add_index "military_services", ["applicant_id"], name: "index_military_services_on_applicant_id", using: :btree
- create_table "military_statuses", :force => true do |t|
+ create_table "military_statuses", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -4238,11 +4243,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "code"
end
- add_index "military_statuses", ["association_id", "identifier"], :name => "index_military_statuses_on_association_id_and_identifier"
- add_index "military_statuses", ["association_id"], :name => "index_military_statuses_on_association_id"
- add_index "military_statuses", ["identifier"], :name => "index_military_statuses_on_identifier"
+ add_index "military_statuses", ["association_id", "identifier"], name: "index_military_statuses_on_association_id_and_identifier", using: :btree
+ add_index "military_statuses", ["association_id"], name: "index_military_statuses_on_association_id", using: :btree
+ add_index "military_statuses", ["identifier"], name: "index_military_statuses_on_identifier", using: :btree
- create_table "notes", :force => true do |t|
+ create_table "notes", force: true do |t|
t.string "owner_type"
t.integer "owner_id"
t.text "content"
@@ -4252,28 +4257,28 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "user_identity_id"
end
- add_index "notes", ["owner_type", "owner_id"], :name => "index_notes_on_owner_type_and_owner_id"
- add_index "notes", ["user_id"], :name => "index_notes_on_user_id"
+ add_index "notes", ["owner_type", "owner_id"], name: "index_notes_on_owner_type_and_owner_id", using: :btree
+ add_index "notes", ["user_id"], name: "index_notes_on_user_id", using: :btree
- create_table "notification_subscriptions", :force => true do |t|
- t.integer "user_identity_id", :null => false
- t.string "notification_type", :null => false
- t.boolean "active", :default => true, :null => false
+ create_table "notification_subscriptions", force: true do |t|
+ t.integer "user_identity_id", null: false
+ t.string "notification_type", null: false
+ t.boolean "active", default: true, null: false
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "notification_subscriptions", ["user_identity_id", "notification_type"], :name => "index_notification_subscriptions_on_user_identity_id_and_type", :unique => true
+ add_index "notification_subscriptions", ["user_identity_id", "notification_type"], name: "index_notification_subscriptions_on_user_identity_id_and_type", unique: true, using: :btree
- create_table "numeric_conversions", :force => true do |t|
- t.decimal "numeric_grade", :precision => 2, :scale => 1
+ create_table "numeric_conversions", force: true do |t|
+ t.decimal "numeric_grade", precision: 2, scale: 1
t.string "letter_grade"
t.integer "grade_numeric_converter_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "observation_hours", :force => true do |t|
+ create_table "observation_hours", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.string "facility"
@@ -4359,19 +4364,19 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "barcode"
t.integer "verification_type_id"
t.string "address_2"
- t.boolean "most_important", :default => false
+ t.boolean "most_important", default: false
t.string "status_type"
t.string "verification_status_type"
t.integer "submission_type_id"
end
- add_index "observation_hours", ["applicant_id"], :name => "index_occupational_therapy_observation_hours_on_applicant_id"
- add_index "observation_hours", ["experience_pay_type_id"], :name => "index_occupational_therapy_observation_hours_fc05c4c6f0"
- add_index "observation_hours", ["identifier"], :name => "index_occupational_therapy_observation_hours_on_identifier"
- add_index "observation_hours", ["observation_type_id"], :name => "index_occupational_therapy_observation_hours_8b1118c87e"
- add_index "observation_hours", ["status_id"], :name => "index_occupational_therapy_observation_hours_on_status_id"
+ add_index "observation_hours", ["applicant_id"], name: "index_occupational_therapy_observation_hours_on_applicant_id", using: :btree
+ add_index "observation_hours", ["experience_pay_type_id"], name: "index_occupational_therapy_observation_hours_fc05c4c6f0", using: :btree
+ add_index "observation_hours", ["identifier"], name: "index_occupational_therapy_observation_hours_on_identifier", using: :btree
+ add_index "observation_hours", ["observation_type_id"], name: "index_occupational_therapy_observation_hours_8b1118c87e", using: :btree
+ add_index "observation_hours", ["status_id"], name: "index_occupational_therapy_observation_hours_on_status_id", using: :btree
- create_table "observation_statuses", :force => true do |t|
+ create_table "observation_statuses", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -4380,11 +4385,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "observation_statuses", ["association_id", "identifier"], :name => "index_observation_statuses_on_association_id_and_identifier"
- add_index "observation_statuses", ["association_id"], :name => "index_observation_statuses_on_association_id"
- add_index "observation_statuses", ["identifier"], :name => "index_observation_statuses_on_identifier"
+ add_index "observation_statuses", ["association_id", "identifier"], name: "index_observation_statuses_on_association_id_and_identifier", using: :btree
+ add_index "observation_statuses", ["association_id"], name: "index_observation_statuses_on_association_id", using: :btree
+ add_index "observation_statuses", ["identifier"], name: "index_observation_statuses_on_identifier", using: :btree
- create_table "observation_types", :force => true do |t|
+ create_table "observation_types", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -4393,11 +4398,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "observation_types", ["association_id", "identifier"], :name => "index_observation_types_on_association_id_and_identifier"
- add_index "observation_types", ["association_id"], :name => "index_observation_types_on_association_id"
- add_index "observation_types", ["identifier"], :name => "index_observation_types_on_identifier"
+ add_index "observation_types", ["association_id", "identifier"], name: "index_observation_types_on_association_id_and_identifier", using: :btree
+ add_index "observation_types", ["association_id"], name: "index_observation_types_on_association_id", using: :btree
+ add_index "observation_types", ["identifier"], name: "index_observation_types_on_identifier", using: :btree
- create_table "occupations", :force => true do |t|
+ create_table "occupations", force: true do |t|
t.string "name"
t.integer "identifier"
t.datetime "created_at"
@@ -4407,12 +4412,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "code"
end
- add_index "occupations", ["association_id", "identifier"], :name => "index_occupations_on_association_id_and_identifier"
- add_index "occupations", ["association_id"], :name => "index_occupations_on_association_id"
- add_index "occupations", ["identifier"], :name => "index_occupations_on_identifier"
- add_index "occupations", ["type"], :name => "index_occupations_on_type"
+ add_index "occupations", ["association_id", "identifier"], name: "index_occupations_on_association_id_and_identifier", using: :btree
+ add_index "occupations", ["association_id"], name: "index_occupations_on_association_id", using: :btree
+ add_index "occupations", ["identifier"], name: "index_occupations_on_identifier", using: :btree
+ add_index "occupations", ["type"], name: "index_occupations_on_type", using: :btree
- create_table "offer_types", :force => true do |t|
+ create_table "offer_types", force: true do |t|
t.string "name"
t.integer "association_id"
t.boolean "offer_received"
@@ -4421,10 +4426,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.boolean "offer_accepted"
end
- create_table "official_ece_gpas", :force => true do |t|
+ create_table "official_ece_gpas", force: true do |t|
t.integer "applicant_id"
- t.decimal "best_result_gpa", :precision => 5, :scale => 2
- t.decimal "comprehensive_gpa", :precision => 5, :scale => 2
+ t.decimal "best_result_gpa", precision: 5, scale: 2
+ t.decimal "comprehensive_gpa", precision: 5, scale: 2
t.string "credential"
t.string "identifier"
t.string "institution"
@@ -4432,10 +4437,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "official_ece_gpas", ["applicant_id"], :name => "index_official_ece_gpas_on_applicant_id"
- add_index "official_ece_gpas", ["identifier"], :name => "index_official_ece_gpas_on_identifier"
+ add_index "official_ece_gpas", ["applicant_id"], name: "index_official_ece_gpas_on_applicant_id", using: :btree
+ add_index "official_ece_gpas", ["identifier"], name: "index_official_ece_gpas_on_identifier", using: :btree
- create_table "organization_evaluations", :force => true do |t|
+ create_table "organization_evaluations", force: true do |t|
t.integer "association_id"
t.integer "organization_id"
t.integer "evaluation_id"
@@ -4444,12 +4449,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "organization_evaluations", ["association_id"], :name => "index_organization_evaluations_on_association_id"
- add_index "organization_evaluations", ["evaluation_id"], :name => "index_organization_evaluations_on_evaluation_id"
- add_index "organization_evaluations", ["identifier"], :name => "index_organization_evaluations_on_identifier"
- add_index "organization_evaluations", ["organization_id"], :name => "index_organization_evaluations_on_organization_id"
+ add_index "organization_evaluations", ["association_id"], name: "index_organization_evaluations_on_association_id", using: :btree
+ add_index "organization_evaluations", ["evaluation_id"], name: "index_organization_evaluations_on_evaluation_id", using: :btree
+ add_index "organization_evaluations", ["identifier"], name: "index_organization_evaluations_on_identifier", using: :btree
+ add_index "organization_evaluations", ["organization_id"], name: "index_organization_evaluations_on_organization_id", using: :btree
- create_table "organization_resumes", :force => true do |t|
+ create_table "organization_resumes", force: true do |t|
t.integer "association_id"
t.integer "organization_id"
t.integer "resume_id"
@@ -4458,12 +4463,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "organization_resumes", ["association_id"], :name => "index_organization_resumes_on_association_id"
- add_index "organization_resumes", ["identifier"], :name => "index_organization_resumes_on_identifier"
- add_index "organization_resumes", ["organization_id"], :name => "index_organization_resumes_on_organization_id"
- add_index "organization_resumes", ["resume_id"], :name => "index_organization_resumes_on_resume_id"
+ add_index "organization_resumes", ["association_id"], name: "index_organization_resumes_on_association_id", using: :btree
+ add_index "organization_resumes", ["identifier"], name: "index_organization_resumes_on_identifier", using: :btree
+ add_index "organization_resumes", ["organization_id"], name: "index_organization_resumes_on_organization_id", using: :btree
+ add_index "organization_resumes", ["resume_id"], name: "index_organization_resumes_on_resume_id", using: :btree
- create_table "organizations", :force => true do |t|
+ create_table "organizations", force: true do |t|
t.string "name"
t.string "subdomain"
t.datetime "created_at"
@@ -4479,22 +4484,22 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "school_code"
t.boolean "program_proxy"
t.string "school_abbr"
- t.boolean "ssn_documents", :default => false, :null => false
+ t.boolean "ssn_documents", default: false, null: false
t.string "short_name"
t.string "ets_code"
t.integer "institution_id"
t.integer "institution_number"
- t.boolean "gateway_enabled", :default => false, :null => false
- t.integer "unique_identifier", :limit => 8
+ t.boolean "gateway_enabled", default: false, null: false
+ t.integer "unique_identifier", limit: 8
end
- add_index "organizations", ["association_id", "identifier"], :name => "index_organizations_on_association_id_and_identifier"
- add_index "organizations", ["association_id"], :name => "index_organizations_on_association_id"
- add_index "organizations", ["identifier"], :name => "index_organizations_on_identifier"
- add_index "organizations", ["institution_id", "association_id"], :name => "idx_organizations_on_institution_id_association_id"
- add_index "organizations", ["institution_id"], :name => "index_organizations_on_institution_id"
+ add_index "organizations", ["association_id", "identifier"], name: "index_organizations_on_association_id_and_identifier", using: :btree
+ add_index "organizations", ["association_id"], name: "index_organizations_on_association_id", using: :btree
+ add_index "organizations", ["identifier"], name: "index_organizations_on_identifier", using: :btree
+ add_index "organizations", ["institution_id", "association_id"], name: "idx_organizations_on_institution_id_association_id", using: :btree
+ add_index "organizations", ["institution_id"], name: "index_organizations_on_institution_id", using: :btree
- create_table "other_applications", :force => true do |t|
+ create_table "other_applications", force: true do |t|
t.integer "applicant_id"
t.integer "application_a_id"
t.integer "application_b_id"
@@ -4512,9 +4517,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "other_applications", ["applicant_id"], :name => "index_other_applications_on_applicant_id"
+ add_index "other_applications", ["applicant_id"], name: "index_other_applications_on_applicant_id", using: :btree
- create_table "outpatient_settings", :force => true do |t|
+ create_table "outpatient_settings", force: true do |t|
t.string "outpatient_setting_id"
t.integer "children_and_youth_hours_completed"
t.integer "children_and_youth_hours_planned"
@@ -4558,10 +4563,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "wellness_prevention_fitness_hours_planned"
end
- add_index "outpatient_settings", ["applicant_id"], :name => "index_outpatient_settings_on_applicant_id"
- add_index "outpatient_settings", ["observation_hour_id"], :name => "index_outpatient_settings_on_observation_hour_id"
+ add_index "outpatient_settings", ["applicant_id"], name: "index_outpatient_settings_on_applicant_id", using: :btree
+ add_index "outpatient_settings", ["observation_hour_id"], name: "index_outpatient_settings_on_observation_hour_id", using: :btree
- create_table "pages", :force => true do |t|
+ create_table "pages", force: true do |t|
t.string "key"
t.string "title"
t.text "body"
@@ -4570,9 +4575,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "association_id"
end
- add_index "pages", ["association_id"], :name => "index_pages_on_association_id"
+ add_index "pages", ["association_id"], name: "index_pages_on_association_id", using: :btree
- create_table "parent_educations", :force => true do |t|
+ create_table "parent_educations", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -4580,11 +4585,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "parent_educations", ["association_id", "identifier"], :name => "index_parent_educations_on_association_id_and_identifier"
- add_index "parent_educations", ["association_id"], :name => "index_parent_educations_on_association_id"
- add_index "parent_educations", ["identifier"], :name => "index_parent_educations_on_identifier"
+ add_index "parent_educations", ["association_id", "identifier"], name: "index_parent_educations_on_association_id_and_identifier", using: :btree
+ add_index "parent_educations", ["association_id"], name: "index_parent_educations_on_association_id", using: :btree
+ add_index "parent_educations", ["identifier"], name: "index_parent_educations_on_identifier", using: :btree
- create_table "parent_statuses", :force => true do |t|
+ create_table "parent_statuses", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -4592,11 +4597,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "parent_statuses", ["association_id", "identifier"], :name => "index_parent_statuses_on_association_id_and_identifier"
- add_index "parent_statuses", ["association_id"], :name => "index_parent_statuses_on_association_id"
- add_index "parent_statuses", ["identifier"], :name => "index_parent_statuses_on_identifier"
+ add_index "parent_statuses", ["association_id", "identifier"], name: "index_parent_statuses_on_association_id_and_identifier", using: :btree
+ add_index "parent_statuses", ["association_id"], name: "index_parent_statuses_on_association_id", using: :btree
+ add_index "parent_statuses", ["identifier"], name: "index_parent_statuses_on_identifier", using: :btree
- create_table "parents", :force => true do |t|
+ create_table "parents", force: true do |t|
t.integer "relationship_id"
t.integer "parent_status_id"
t.string "first_name"
@@ -4607,7 +4612,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
t.string "identifier"
t.integer "applicant_id"
- t.integer "parent_number", :null => false
+ t.integer "parent_number", null: false
t.integer "occupation_id"
t.integer "education_id"
t.string "phone_city_code"
@@ -4624,45 +4629,45 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "occupation_type"
end
- add_index "parents", ["applicant_id"], :name => "index_parents_on_applicant_id"
- add_index "parents", ["education_type", "education_id"], :name => "index_parents_on_education_type_and_education_id"
- add_index "parents", ["identifier"], :name => "index_parents_on_identifier"
- add_index "parents", ["occupation_type", "education_id"], :name => "index_parents_on_occupation_type_and_education_id"
- add_index "parents", ["parent_status_id"], :name => "index_parents_on_parent_status_id"
- add_index "parents", ["relationship_id"], :name => "index_parents_on_relationship_id"
+ add_index "parents", ["applicant_id"], name: "index_parents_on_applicant_id", using: :btree
+ add_index "parents", ["education_type", "education_id"], name: "index_parents_on_education_type_and_education_id", using: :btree
+ add_index "parents", ["identifier"], name: "index_parents_on_identifier", using: :btree
+ add_index "parents", ["occupation_type", "education_id"], name: "index_parents_on_occupation_type_and_education_id", using: :btree
+ add_index "parents", ["parent_status_id"], name: "index_parents_on_parent_status_id", using: :btree
+ add_index "parents", ["relationship_id"], name: "index_parents_on_relationship_id", using: :btree
- create_table "payment_transactions", :force => true do |t|
+ create_table "payment_transactions", force: true do |t|
t.integer "applicant_id"
- t.string "payment_status", :null => false
+ t.string "payment_status", null: false
t.string "payment_type"
- t.string "identifier", :null => false
- t.datetime "payment_received_date", :null => false
- t.decimal "payment_amount", :precision => 8, :scale => 2, :default => 0.0, :null => false
+ t.string "identifier", null: false
+ t.datetime "payment_received_date", null: false
+ t.decimal "payment_amount", precision: 8, scale: 2, default: 0.0, null: false
t.string "payment_method"
- t.string "confirmation_number", :null => false
- t.string "request_id", :null => false
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.string "confirmation_number", null: false
+ t.string "request_id", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "payment_transactions", ["applicant_id"], :name => "index_payment_transactions_on_applicant_id"
- add_index "payment_transactions", ["identifier"], :name => "index_payment_transactions_on_identifier"
+ add_index "payment_transactions", ["applicant_id"], name: "index_payment_transactions_on_applicant_id", using: :btree
+ add_index "payment_transactions", ["identifier"], name: "index_payment_transactions_on_identifier", using: :btree
- create_table "payment_transactions_programs_applicants", :force => true do |t|
- t.integer "payment_transaction_id", :null => false
- t.integer "applicant_id", :null => false
- t.integer "program_id", :null => false
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ create_table "payment_transactions_programs_applicants", force: true do |t|
+ t.integer "payment_transaction_id", null: false
+ t.integer "applicant_id", null: false
+ t.integer "program_id", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "payment_transactions_programs_applicants", ["applicant_id"], :name => "index_payment_transactions_programs_applicants_on_applicant_id"
- add_index "payment_transactions_programs_applicants", ["payment_transaction_id"], :name => "index_payment_transactions_programs_applicants_pymt_trstn_id"
- add_index "payment_transactions_programs_applicants", ["program_id"], :name => "index_payment_transactions_programs_applicants_on_program_id"
+ add_index "payment_transactions_programs_applicants", ["applicant_id"], name: "index_payment_transactions_programs_applicants_on_applicant_id", using: :btree
+ add_index "payment_transactions_programs_applicants", ["payment_transaction_id"], name: "index_payment_transactions_programs_applicants_pymt_trstn_id", using: :btree
+ add_index "payment_transactions_programs_applicants", ["program_id"], name: "index_payment_transactions_programs_applicants_on_program_id", using: :btree
- create_table "pdf_manager_batches", :force => true do |t|
- t.integer "pdf_manager_template_id", :null => false
- t.integer "user_identity_id", :null => false
+ create_table "pdf_manager_batches", force: true do |t|
+ t.integer "pdf_manager_template_id", null: false
+ t.integer "user_identity_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.string "aasm_state"
@@ -4671,101 +4676,101 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "file_count"
t.integer "max_applicants"
t.integer "error_count"
- t.integer "list_size", :default => 0
+ t.integer "list_size", default: 0
end
- add_index "pdf_manager_batches", ["pdf_manager_template_id", "user_identity_id"], :name => "index_pdf_manager_batches_pdf_manager_template_user_identity", :unique => true
+ add_index "pdf_manager_batches", ["pdf_manager_template_id", "user_identity_id"], name: "index_pdf_manager_batches_pdf_manager_template_user_identity", unique: true, using: :btree
- create_table "pdf_manager_document_last_printed_details", :force => true do |t|
- t.integer "designation_id", :null => false
- t.integer "document_id", :null => false
- t.integer "document_source_id", :null => false
+ create_table "pdf_manager_document_last_printed_details", force: true do |t|
+ t.integer "designation_id", null: false
+ t.integer "document_id", null: false
+ t.integer "document_source_id", null: false
t.datetime "last_printed_at"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "pdf_manager_document_last_printed_details", ["designation_id"], :name => "index_pdf_manager_doc_last_printed_details_on_designation_id"
+ add_index "pdf_manager_document_last_printed_details", ["designation_id"], name: "index_pdf_manager_doc_last_printed_details_on_designation_id", using: :btree
- create_table "pdf_manager_template_subpanels", :force => true do |t|
- t.integer "pdf_manager_template_id", :null => false
- t.integer "subpanel_id", :null => false
+ create_table "pdf_manager_template_subpanels", force: true do |t|
+ t.integer "pdf_manager_template_id", null: false
+ t.integer "subpanel_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "pdf_manager_templates", :force => true do |t|
- t.integer "user_identity_id", :null => false
+ create_table "pdf_manager_templates", force: true do |t|
+ t.integer "user_identity_id", null: false
t.integer "static_list_id"
t.string "dynamic_list"
- t.string "name", :null => false
+ t.string "name", null: false
t.datetime "created_at"
t.datetime "updated_at"
- t.integer "document_source_id", :null => false
+ t.integer "document_source_id", null: false
t.text "file_name_pattern"
t.boolean "set_last_printed_at"
t.date "last_printed_start_date"
t.date "last_printed_end_date"
t.string "filter_identifier"
- t.boolean "filtering_enabled", :default => false, :null => false
+ t.boolean "filtering_enabled", default: false, null: false
end
- add_index "pdf_manager_templates", ["static_list_id"], :name => "index_pdf_manager_templates_on_static_list_id"
- add_index "pdf_manager_templates", ["user_identity_id"], :name => "index_pdf_manager_templates_on_user_identity_id"
+ add_index "pdf_manager_templates", ["static_list_id"], name: "index_pdf_manager_templates_on_static_list_id", using: :btree
+ add_index "pdf_manager_templates", ["user_identity_id"], name: "index_pdf_manager_templates_on_user_identity_id", using: :btree
- create_table "pdf_manager_zip_files", :force => true do |t|
- t.integer "pdf_manager_batch_id", :null => false
+ create_table "pdf_manager_zip_files", force: true do |t|
+ t.integer "pdf_manager_batch_id", null: false
t.integer "zip_file_size"
t.datetime "zip_updated_at"
t.datetime "created_at"
t.datetime "updated_at"
- t.integer "index", :null => false
- t.string "object_key", :null => false
+ t.integer "index", null: false
+ t.string "object_key", null: false
end
- add_index "pdf_manager_zip_files", ["pdf_manager_batch_id"], :name => "index_pdf_manager_zip_files_on_pdf_manager_batch_id"
+ add_index "pdf_manager_zip_files", ["pdf_manager_batch_id"], name: "index_pdf_manager_zip_files_on_pdf_manager_batch_id", using: :btree
- create_table "personal_potential_indices", :force => true do |t|
+ create_table "personal_potential_indices", force: true do |t|
t.integer "applicant_id"
t.text "communication_skills_comments"
- t.decimal "communication_skills_score", :precision => 2, :scale => 1
+ t.decimal "communication_skills_score", precision: 2, scale: 1
t.date "date"
t.text "ethics_and_integrity_comments"
- t.decimal "ethics_and_integrity_score", :precision => 2, :scale => 1
+ t.decimal "ethics_and_integrity_score", precision: 2, scale: 1
t.string "identifier"
t.text "knowledge_and_creativity_comments"
- t.decimal "knowledge_and_creativity_score", :precision => 2, :scale => 1
+ t.decimal "knowledge_and_creativity_score", precision: 2, scale: 1
t.text "overall_comments"
- t.decimal "overall_score", :precision => 2, :scale => 1
+ t.decimal "overall_score", precision: 2, scale: 1
t.text "planning_and_organization_comments"
- t.decimal "planning_and_organization_score", :precision => 2, :scale => 1
+ t.decimal "planning_and_organization_score", precision: 2, scale: 1
t.integer "ppi_evaluator_id"
t.text "resilience_comments"
- t.decimal "resilience_score", :precision => 2, :scale => 1
+ t.decimal "resilience_score", precision: 2, scale: 1
t.text "teamwork_comments"
- t.decimal "teamwork_score", :precision => 2, :scale => 1
+ t.decimal "teamwork_score", precision: 2, scale: 1
t.datetime "created_at"
t.datetime "updated_at"
t.date "received_date"
- t.decimal "self_evaluation", :precision => 2, :scale => 1
+ t.decimal "self_evaluation", precision: 2, scale: 1
end
- add_index "personal_potential_indices", ["applicant_id"], :name => "index_personal_potential_indices_on_applicant_id"
- add_index "personal_potential_indices", ["identifier"], :name => "index_personal_potential_indices_on_identifier"
- add_index "personal_potential_indices", ["ppi_evaluator_id"], :name => "index_personal_potential_indices_on_ppi_evaluator_id"
+ add_index "personal_potential_indices", ["applicant_id"], name: "index_personal_potential_indices_on_applicant_id", using: :btree
+ add_index "personal_potential_indices", ["identifier"], name: "index_personal_potential_indices_on_identifier", using: :btree
+ add_index "personal_potential_indices", ["ppi_evaluator_id"], name: "index_personal_potential_indices_on_ppi_evaluator_id", using: :btree
- create_table "photo_programs", :force => true do |t|
+ create_table "photo_programs", force: true do |t|
t.integer "photo_id"
t.integer "program_id"
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "photo_programs", ["photo_id", "program_id"], :name => "index_photo_programs_on_photo_id_and_program_id"
- add_index "photo_programs", ["photo_id"], :name => "index_photo_programs_on_photo_id"
- add_index "photo_programs", ["program_id"], :name => "index_photo_programs_on_program_id"
+ add_index "photo_programs", ["photo_id", "program_id"], name: "index_photo_programs_on_photo_id_and_program_id", using: :btree
+ add_index "photo_programs", ["photo_id"], name: "index_photo_programs_on_photo_id", using: :btree
+ add_index "photo_programs", ["program_id"], name: "index_photo_programs_on_program_id", using: :btree
- create_table "photos", :force => true do |t|
+ create_table "photos", force: true do |t|
t.integer "applicant_id"
t.string "photograph_file_name"
t.string "photograph_content_type"
@@ -4775,9 +4780,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "photos", ["applicant_id"], :name => "index_photos_on_applicant_id"
+ add_index "photos", ["applicant_id"], name: "index_photos_on_applicant_id", using: :btree
- create_table "postgraduate_levels", :force => true do |t|
+ create_table "postgraduate_levels", force: true do |t|
t.string "name"
t.string "code"
t.datetime "created_at"
@@ -4785,9 +4790,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "association_id"
end
- add_index "postgraduate_levels", ["association_id"], :name => "index_postgraduate_levels_on_association_id"
+ add_index "postgraduate_levels", ["association_id"], name: "index_postgraduate_levels_on_association_id", using: :btree
- create_table "postgraduate_programs", :force => true do |t|
+ create_table "postgraduate_programs", force: true do |t|
t.integer "postgraduate_type_id"
t.integer "postgraduate_level_id"
t.string "name"
@@ -4804,13 +4809,13 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "institution"
end
- add_index "postgraduate_programs", ["applicant_id"], :name => "index_postgraduate_programs_on_applicant_id"
- add_index "postgraduate_programs", ["degree_id"], :name => "index_postgraduate_programs_on_degree_id"
- add_index "postgraduate_programs", ["identifier"], :name => "index_postgraduate_programs_on_identifier"
- add_index "postgraduate_programs", ["postgraduate_level_id"], :name => "index_postgraduate_programs_on_postgraduate_level_id"
- add_index "postgraduate_programs", ["postgraduate_type_id"], :name => "index_postgraduate_programs_on_postgraduate_type_id"
+ add_index "postgraduate_programs", ["applicant_id"], name: "index_postgraduate_programs_on_applicant_id", using: :btree
+ add_index "postgraduate_programs", ["degree_id"], name: "index_postgraduate_programs_on_degree_id", using: :btree
+ add_index "postgraduate_programs", ["identifier"], name: "index_postgraduate_programs_on_identifier", using: :btree
+ add_index "postgraduate_programs", ["postgraduate_level_id"], name: "index_postgraduate_programs_on_postgraduate_level_id", using: :btree
+ add_index "postgraduate_programs", ["postgraduate_type_id"], name: "index_postgraduate_programs_on_postgraduate_type_id", using: :btree
- create_table "postgraduate_types", :force => true do |t|
+ create_table "postgraduate_types", force: true do |t|
t.integer "association_id"
t.string "code"
t.string "identifier"
@@ -4819,11 +4824,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
end
- add_index "postgraduate_types", ["association_id", "identifier"], :name => "index_postgraduate_types_on_association_id_and_identifier"
- add_index "postgraduate_types", ["association_id"], :name => "index_postgraduate_types_on_association_id"
- add_index "postgraduate_types", ["identifier"], :name => "index_postgraduate_types_on_identifier"
+ add_index "postgraduate_types", ["association_id", "identifier"], name: "index_postgraduate_types_on_association_id_and_identifier", using: :btree
+ add_index "postgraduate_types", ["association_id"], name: "index_postgraduate_types_on_association_id", using: :btree
+ add_index "postgraduate_types", ["identifier"], name: "index_postgraduate_types_on_identifier", using: :btree
- create_table "preferred_names", :force => true do |t|
+ create_table "preferred_names", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.string "preferred_salutation"
@@ -4835,9 +4840,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "preferred_names", ["applicant_id"], :name => "index_preferred_names_on_applicant_id"
+ add_index "preferred_names", ["applicant_id"], name: "index_preferred_names_on_applicant_id", using: :btree
- create_table "presentations", :force => true do |t|
+ create_table "presentations", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.text "presentation_description"
@@ -4848,9 +4853,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "presentations", ["applicant_id"], :name => "index_presentations_on_applicant_id"
+ add_index "presentations", ["applicant_id"], name: "index_presentations_on_applicant_id", using: :btree
- create_table "previous_application_years", :force => true do |t|
+ create_table "previous_application_years", force: true do |t|
t.integer "applicant_id"
t.integer "designation_id"
t.integer "year"
@@ -4858,11 +4863,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "previous_application_years", ["applicant_id"], :name => "index_previous_application_years_on_applicant_id"
- add_index "previous_application_years", ["designation_id"], :name => "index_previous_application_years_on_designation_id"
+ add_index "previous_application_years", ["applicant_id"], name: "index_previous_application_years_on_applicant_id", using: :btree
+ add_index "previous_application_years", ["designation_id"], name: "index_previous_application_years_on_designation_id", using: :btree
- create_table "previous_matriculations", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "previous_matriculations", force: true do |t|
+ t.integer "applicant_id", null: false
t.boolean "indicator"
t.integer "school_id"
t.string "school_name"
@@ -4872,9 +4877,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "previous_matriculations", ["applicant_id"], :name => "index_previous_matriculations_on_applicant_id"
+ add_index "previous_matriculations", ["applicant_id"], name: "index_previous_matriculations_on_applicant_id", using: :btree
- create_table "previously_attended_health_professions", :force => true do |t|
+ create_table "previously_attended_health_professions", force: true do |t|
t.integer "applicant_id"
t.integer "eligible_to_return_id"
t.boolean "has_attended_program"
@@ -4888,9 +4893,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "identifier"
end
- add_index "previously_attended_health_professions", ["applicant_id"], :name => "index_previously_attended_health_professions_on_applicant_id"
+ add_index "previously_attended_health_professions", ["applicant_id"], name: "index_previously_attended_health_professions_on_applicant_id", using: :btree
- create_table "professional_references", :force => true do |t|
+ create_table "professional_references", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.string "first_name"
@@ -4904,9 +4909,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "professional_references", ["applicant_id"], :name => "index_professional_references_on_applicant_id"
+ add_index "professional_references", ["applicant_id"], name: "index_professional_references_on_applicant_id", using: :btree
- create_table "program_deliveries", :force => true do |t|
+ create_table "program_deliveries", force: true do |t|
t.string "delivery"
t.integer "association_id"
t.integer "program_id"
@@ -4914,7 +4919,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "program_requirements", :force => true do |t|
+ create_table "program_requirements", force: true do |t|
t.integer "program_id"
t.integer "requirement_id"
t.datetime "created_at"
@@ -4922,12 +4927,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "requirement_type"
end
- add_index "program_requirements", ["program_id", "requirement_id"], :name => "index_program_requirements_on_program_id_and_requirement_id"
- add_index "program_requirements", ["program_id"], :name => "index_program_requirements_on_program_id"
- add_index "program_requirements", ["requirement_id", "requirement_type"], :name => "program_requirements_polymorphic_idx"
- add_index "program_requirements", ["requirement_id"], :name => "index_program_requirements_on_requirement_id"
+ add_index "program_requirements", ["program_id", "requirement_id"], name: "index_program_requirements_on_program_id_and_requirement_id", using: :btree
+ add_index "program_requirements", ["program_id"], name: "index_program_requirements_on_program_id", using: :btree
+ add_index "program_requirements", ["requirement_id", "requirement_type"], name: "program_requirements_polymorphic_idx", using: :btree
+ add_index "program_requirements", ["requirement_id"], name: "index_program_requirements_on_requirement_id", using: :btree
- create_table "program_tracks", :force => true do |t|
+ create_table "program_tracks", force: true do |t|
t.string "track"
t.integer "association_id"
t.integer "program_id"
@@ -4935,7 +4940,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "program_types", :force => true do |t|
+ create_table "program_types", force: true do |t|
t.integer "association_id"
t.string "level"
t.text "description"
@@ -4946,7 +4951,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "code"
end
- create_table "programs", :force => true do |t|
+ create_table "programs", force: true do |t|
t.integer "organization_id"
t.string "name"
t.datetime "created_at"
@@ -4984,7 +4989,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "start_term_id"
t.string "application_type"
t.string "delivery"
- t.integer "unique_identifier", :limit => 8
+ t.integer "unique_identifier", limit: 8
t.boolean "second_bachelor_degree"
t.boolean "associate_degree_for_transfer"
t.boolean "alt_program_opt_out"
@@ -5009,28 +5014,28 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "degree_level"
end
- add_index "programs", ["association_id"], :name => "index_programs_on_association_id"
- add_index "programs", ["degree_id"], :name => "index_programs_on_degree_id"
- add_index "programs", ["degree_level"], :name => "index_programs_on_degree_level"
- add_index "programs", ["identifier", "association_id"], :name => "index_programs_on_identifier_and_association_id"
- add_index "programs", ["identifier"], :name => "index_programs_on_identifier"
- add_index "programs", ["level_id"], :name => "index_programs_on_level_id"
- add_index "programs", ["organization_id"], :name => "index_programs_on_organization_id"
- add_index "programs", ["type"], :name => "index_programs_on_type"
- add_index "programs", ["unique_identifier"], :name => "index_programs_on_unique_identifier", :unique => true
+ add_index "programs", ["association_id"], name: "index_programs_on_association_id", using: :btree
+ add_index "programs", ["degree_id"], name: "index_programs_on_degree_id", using: :btree
+ add_index "programs", ["degree_level"], name: "index_programs_on_degree_level", using: :btree
+ add_index "programs", ["identifier", "association_id"], name: "index_programs_on_identifier_and_association_id", using: :btree
+ add_index "programs", ["identifier"], name: "index_programs_on_identifier", using: :btree
+ add_index "programs", ["level_id"], name: "index_programs_on_level_id", using: :btree
+ add_index "programs", ["organization_id"], name: "index_programs_on_organization_id", using: :btree
+ add_index "programs", ["type"], name: "index_programs_on_type", using: :btree
+ add_index "programs", ["unique_identifier"], name: "index_programs_on_unique_identifier", unique: true, using: :btree
- create_table "programs_users", :force => true do |t|
+ create_table "programs_users", force: true do |t|
t.integer "program_id"
t.integer "user_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "programs_users", ["program_id", "user_id"], :name => "index_programs_users_on_program_id_and_user_id"
- add_index "programs_users", ["program_id"], :name => "index_programs_users_on_program_id"
- add_index "programs_users", ["user_id"], :name => "index_programs_users_on_user_id"
+ add_index "programs_users", ["program_id", "user_id"], name: "index_programs_users_on_program_id_and_user_id", using: :btree
+ add_index "programs_users", ["program_id"], name: "index_programs_users_on_program_id", using: :btree
+ add_index "programs_users", ["user_id"], name: "index_programs_users_on_user_id", using: :btree
- create_table "publications", :force => true do |t|
+ create_table "publications", force: true do |t|
t.string "title"
t.text "description"
t.date "date"
@@ -5046,16 +5051,16 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "level"
end
- add_index "publications", ["applicant_id"], :name => "index_publications_on_applicant_id"
- add_index "publications", ["identifier"], :name => "index_publications_on_identifier"
+ add_index "publications", ["applicant_id"], name: "index_publications_on_applicant_id", using: :btree
+ add_index "publications", ["identifier"], name: "index_publications_on_identifier", using: :btree
- create_table "question_bases", :force => true do |t|
+ create_table "question_bases", force: true do |t|
t.string "label"
t.integer "custom_field_type_id"
t.text "description"
t.integer "owner_id"
t.text "field_data"
- t.boolean "active", :default => true, :null => false
+ t.boolean "active", default: true, null: false
t.datetime "created_at"
t.datetime "updated_at"
t.integer "order"
@@ -5066,20 +5071,20 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "owner_type"
t.integer "supplemental_question_block_id"
t.boolean "is_multiple_answer"
- t.integer "unique_identifier", :limit => 8
+ t.integer "unique_identifier", limit: 8
t.boolean "has_export_codes"
end
- add_index "question_bases", ["custom_field_type_id"], :name => "index_custom_fields_on_custom_field_type_id"
- add_index "question_bases", ["owner_id"], :name => "index_custom_fields_on_owner_id"
- add_index "question_bases", ["owner_type", "owner_id"], :name => "index_question_bases_on_owner_type_and_owner_id"
- add_index "question_bases", ["owner_type"], :name => "index_question_bases_on_owner_type"
- add_index "question_bases", ["question_identifier"], :name => "index_question_bases_on_question_identifier"
- add_index "question_bases", ["supplemental_field_type_id"], :name => "index_question_bases_on_supplemental_field_type_id"
- add_index "question_bases", ["supplemental_question_block_id"], :name => "index_question_bases_on_supplemental_question_block_id"
- add_index "question_bases", ["type"], :name => "index_question_bases_on_type"
+ add_index "question_bases", ["custom_field_type_id"], name: "index_custom_fields_on_custom_field_type_id", using: :btree
+ add_index "question_bases", ["owner_id"], name: "index_custom_fields_on_owner_id", using: :btree
+ add_index "question_bases", ["owner_type", "owner_id"], name: "index_question_bases_on_owner_type_and_owner_id", using: :btree
+ add_index "question_bases", ["owner_type"], name: "index_question_bases_on_owner_type", using: :btree
+ add_index "question_bases", ["question_identifier"], name: "index_question_bases_on_question_identifier", using: :btree
+ add_index "question_bases", ["supplemental_field_type_id"], name: "index_question_bases_on_supplemental_field_type_id", using: :btree
+ add_index "question_bases", ["supplemental_question_block_id"], name: "index_question_bases_on_supplemental_question_block_id", using: :btree
+ add_index "question_bases", ["type"], name: "index_question_bases_on_type", using: :btree
- create_table "registrations", :force => true do |t|
+ create_table "registrations", force: true do |t|
t.date "date"
t.datetime "created_at"
t.datetime "updated_at"
@@ -5088,10 +5093,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "registration_type"
end
- add_index "registrations", ["applicant_id"], :name => "index_registrations_on_applicant_id"
- add_index "registrations", ["identifier"], :name => "index_registrations_on_identifier"
+ add_index "registrations", ["applicant_id"], name: "index_registrations_on_applicant_id", using: :btree
+ add_index "registrations", ["identifier"], name: "index_registrations_on_identifier", using: :btree
- create_table "relations", :force => true do |t|
+ create_table "relations", force: true do |t|
t.string "name"
t.string "identifier"
t.datetime "created_at"
@@ -5099,11 +5104,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "association_id"
end
- add_index "relations", ["association_id", "identifier"], :name => "index_relations_on_association_id_and_identifier"
- add_index "relations", ["association_id"], :name => "index_relations_on_association_id"
- add_index "relations", ["identifier"], :name => "index_relations_on_identifier"
+ add_index "relations", ["association_id", "identifier"], name: "index_relations_on_association_id_and_identifier", using: :btree
+ add_index "relations", ["association_id"], name: "index_relations_on_association_id", using: :btree
+ add_index "relations", ["identifier"], name: "index_relations_on_identifier", using: :btree
- create_table "remarks", :force => true do |t|
+ create_table "remarks", force: true do |t|
t.boolean "active"
t.integer "assignment_type_base_id"
t.string "name"
@@ -5113,58 +5118,58 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "type"
end
- add_index "remarks", ["assignment_type_base_id"], :name => "index_remarks_on_assignment_type_base_id"
+ add_index "remarks", ["assignment_type_base_id"], name: "index_remarks_on_assignment_type_base_id", using: :btree
- create_table "report_comparison_organizations", :force => true do |t|
+ create_table "report_comparison_organizations", force: true do |t|
t.integer "report_id"
t.integer "organization_id"
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "report_comparison_organizations", ["organization_id"], :name => "index_report_comparison_organizations_on_organization_id"
- add_index "report_comparison_organizations", ["report_id"], :name => "index_report_comparison_organizations_on_report_id"
+ add_index "report_comparison_organizations", ["organization_id"], name: "index_report_comparison_organizations_on_organization_id", using: :btree
+ add_index "report_comparison_organizations", ["report_id"], name: "index_report_comparison_organizations_on_report_id", using: :btree
- create_table "report_decisions", :force => true do |t|
+ create_table "report_decisions", force: true do |t|
t.integer "report_id"
t.integer "decision_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "report_decisions", ["decision_id"], :name => "index_report_decisions_on_decision_id"
- add_index "report_decisions", ["report_id"], :name => "index_report_decisions_on_report_id"
+ add_index "report_decisions", ["decision_id"], name: "index_report_decisions_on_decision_id", using: :btree
+ add_index "report_decisions", ["report_id"], name: "index_report_decisions_on_report_id", using: :btree
- create_table "requirements", :force => true do |t|
+ create_table "requirements", force: true do |t|
t.integer "organization_id"
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "prereq", :default => true, :null => false
- t.boolean "grades", :default => true, :null => false
+ t.boolean "prereq", default: true, null: false
+ t.boolean "grades", default: true, null: false
t.integer "order"
- t.boolean "active", :default => true
+ t.boolean "active", default: true
t.string "type"
t.integer "grade_numeric_converter_id"
t.string "identifier"
- t.boolean "loaded_from_config_portal", :default => false, :null => false
+ t.boolean "loaded_from_config_portal", default: false, null: false
end
- add_index "requirements", ["id", "type"], :name => "index_requirements_on_id_and_type"
- add_index "requirements", ["organization_id"], :name => "index_requirements_on_organization_id"
- add_index "requirements", ["type", "identifier"], :name => "index_requirements_on_type_and_identifier", :unique => true
- add_index "requirements", ["type"], :name => "index_requirements_on_type"
+ add_index "requirements", ["id", "type"], name: "index_requirements_on_id_and_type", using: :btree
+ add_index "requirements", ["organization_id"], name: "index_requirements_on_organization_id", using: :btree
+ add_index "requirements", ["type", "identifier"], name: "index_requirements_on_type_and_identifier", unique: true, using: :btree
+ add_index "requirements", ["type"], name: "index_requirements_on_type", using: :btree
- create_table "research_hours", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "research_hours", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "total_hours"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "research_hours", ["applicant_id"], :name => "index_research_hours_on_applicant_id"
+ add_index "research_hours", ["applicant_id"], name: "index_research_hours_on_applicant_id", using: :btree
- create_table "resumes", :force => true do |t|
+ create_table "resumes", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.string "file_name"
@@ -5174,63 +5179,63 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "document_type"
end
- add_index "resumes", ["applicant_id"], :name => "index_resumes_on_applicant_id"
- add_index "resumes", ["identifier"], :name => "index_resumes_on_identifier"
+ add_index "resumes", ["applicant_id"], name: "index_resumes_on_applicant_id", using: :btree
+ add_index "resumes", ["identifier"], name: "index_resumes_on_identifier", using: :btree
- create_table "revisions", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.date "date", :null => false
- t.integer "field_category_id", :null => false
+ create_table "revisions", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.date "date", null: false
+ t.integer "field_category_id", null: false
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "revisions", ["applicant_id", "date", "field_category_id"], :name => "index_revisions_on_applicant_id_and_date_and_field_category_id"
- add_index "revisions", ["applicant_id"], :name => "index_revisions_on_applicant_id"
- add_index "revisions", ["date"], :name => "index_revisions_on_date"
- add_index "revisions", ["field_category_id"], :name => "index_revisions_on_field_category_id"
+ add_index "revisions", ["applicant_id", "date", "field_category_id"], name: "index_revisions_on_applicant_id_and_date_and_field_category_id", using: :btree
+ add_index "revisions", ["applicant_id"], name: "index_revisions_on_applicant_id", using: :btree
+ add_index "revisions", ["date"], name: "index_revisions_on_date", using: :btree
+ add_index "revisions", ["field_category_id"], name: "index_revisions_on_field_category_id", using: :btree
- create_table "right_assignments", :force => true do |t|
+ create_table "right_assignments", force: true do |t|
t.integer "right_id"
t.integer "role_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "right_assignments", ["right_id"], :name => "index_right_assignments_on_right_id"
- add_index "right_assignments", ["role_id", "right_id"], :name => "index_right_assignments_on_role_id_and_right_id", :unique => true
- add_index "right_assignments", ["role_id"], :name => "index_right_assignments_on_role_id"
+ add_index "right_assignments", ["right_id"], name: "index_right_assignments_on_right_id", using: :btree
+ add_index "right_assignments", ["role_id", "right_id"], name: "index_right_assignments_on_role_id_and_right_id", unique: true, using: :btree
+ add_index "right_assignments", ["role_id"], name: "index_right_assignments_on_role_id", using: :btree
- create_table "rights", :force => true do |t|
+ create_table "rights", force: true do |t|
t.string "name"
t.string "title"
t.text "description"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "feature_id"
- t.boolean "subpanel", :default => false
+ t.boolean "subpanel", default: false
end
- add_index "rights", ["feature_id"], :name => "index_rights_on_feature_id"
+ add_index "rights", ["feature_id"], name: "index_rights_on_feature_id", using: :btree
- create_table "roles", :force => true do |t|
+ create_table "roles", force: true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
t.string "title"
- t.boolean "show", :default => false
+ t.boolean "show", default: false
t.string "type"
t.integer "organization_id"
t.integer "sort_order"
- t.boolean "active", :default => true
+ t.boolean "active", default: true
end
- create_table "scaffold_courses", :force => true do |t|
+ create_table "scaffold_courses", force: true do |t|
t.integer "association_id"
t.string "applicant_identifier"
t.integer "college_id"
t.string "grade"
- t.decimal "credits", :precision => 8, :scale => 4
+ t.decimal "credits", precision: 8, scale: 4
t.datetime "created_at"
t.datetime "updated_at"
t.integer "subject_id"
@@ -5241,26 +5246,26 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.boolean "transferable"
end
- add_index "scaffold_courses", ["applicant_identifier"], :name => "index_scaffold_courses_on_applicant_identifier"
+ add_index "scaffold_courses", ["applicant_identifier"], name: "index_scaffold_courses_on_applicant_identifier", using: :btree
- create_table "score_runs", :force => true do |t|
+ create_table "score_runs", force: true do |t|
t.integer "organization_id"
t.text "applicants"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "scoring_model_assignments", :force => true do |t|
+ create_table "scoring_model_assignments", force: true do |t|
t.integer "scoring_model_id"
t.integer "program_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "scoring_model_assignments", ["program_id"], :name => "index_scoring_model_assignments_on_program_id"
- add_index "scoring_model_assignments", ["scoring_model_id"], :name => "index_scoring_model_assignments_on_scoring_model_id"
+ add_index "scoring_model_assignments", ["program_id"], name: "index_scoring_model_assignments_on_program_id", using: :btree
+ add_index "scoring_model_assignments", ["scoring_model_id"], name: "index_scoring_model_assignments_on_scoring_model_id", using: :btree
- create_table "scoring_model_components", :force => true do |t|
+ create_table "scoring_model_components", force: true do |t|
t.integer "scoring_model_id"
t.integer "point_table_id"
t.integer "field_id"
@@ -5268,56 +5273,56 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
t.integer "weight_percentage"
t.string "multi_value_handler"
- t.decimal "multiplier", :precision => 6, :scale => 3
+ t.decimal "multiplier", precision: 6, scale: 3
t.integer "earliest_year"
t.integer "latest_year"
end
- add_index "scoring_model_components", ["field_id"], :name => "index_scoring_model_components_on_field_id"
- add_index "scoring_model_components", ["point_table_id"], :name => "index_scoring_model_components_on_point_table_id"
- add_index "scoring_model_components", ["scoring_model_id"], :name => "index_scoring_model_components_on_scoring_model_id"
+ add_index "scoring_model_components", ["field_id"], name: "index_scoring_model_components_on_field_id", using: :btree
+ add_index "scoring_model_components", ["point_table_id"], name: "index_scoring_model_components_on_point_table_id", using: :btree
+ add_index "scoring_model_components", ["scoring_model_id"], name: "index_scoring_model_components_on_scoring_model_id", using: :btree
- create_table "scoring_models", :force => true do |t|
+ create_table "scoring_models", force: true do |t|
t.integer "organization_id"
t.string "title"
t.datetime "created_at"
t.datetime "updated_at"
t.text "description"
t.boolean "active"
- t.integer "sort_order", :default => 999999
+ t.integer "sort_order", default: 999999
end
- add_index "scoring_models", ["organization_id"], :name => "index_scoring_models_on_organization_id"
+ add_index "scoring_models", ["organization_id"], name: "index_scoring_models_on_organization_id", using: :btree
- create_table "scoring_point_table_entries", :force => true do |t|
+ create_table "scoring_point_table_entries", force: true do |t|
t.integer "point_table_id"
t.datetime "created_at"
t.datetime "updated_at"
- t.decimal "score", :precision => 13, :scale => 3
+ t.decimal "score", precision: 13, scale: 3
end
- add_index "scoring_point_table_entries", ["point_table_id"], :name => "index_scoring_point_table_entries_on_point_table_id"
+ add_index "scoring_point_table_entries", ["point_table_id"], name: "index_scoring_point_table_entries_on_point_table_id", using: :btree
- create_table "scoring_point_table_entry_numbers", :force => true do |t|
+ create_table "scoring_point_table_entry_numbers", force: true do |t|
t.integer "point_table_entry_id"
t.datetime "created_at"
t.datetime "updated_at"
- t.decimal "value", :precision => 8, :scale => 2
+ t.decimal "value", precision: 8, scale: 2
end
- add_index "scoring_point_table_entry_numbers", ["point_table_entry_id"], :name => "index_scoring_point_table_entry_numbers_on_point_table_entry_id"
+ add_index "scoring_point_table_entry_numbers", ["point_table_entry_id"], name: "index_scoring_point_table_entry_numbers_on_point_table_entry_id", using: :btree
- create_table "scoring_point_table_entry_ranges", :force => true do |t|
+ create_table "scoring_point_table_entry_ranges", force: true do |t|
t.integer "point_table_entry_id"
- t.boolean "inclusive", :default => true
+ t.boolean "inclusive", default: true
t.datetime "created_at"
t.datetime "updated_at"
- t.decimal "less_than", :precision => 8, :scale => 2
+ t.decimal "less_than", precision: 8, scale: 2
end
- add_index "scoring_point_table_entry_ranges", ["point_table_entry_id"], :name => "index_scoring_point_table_entry_ranges_on_point_table_entry_id"
+ add_index "scoring_point_table_entry_ranges", ["point_table_entry_id"], name: "index_scoring_point_table_entry_ranges_on_point_table_entry_id", using: :btree
- create_table "scoring_point_table_entry_strings", :force => true do |t|
+ create_table "scoring_point_table_entry_strings", force: true do |t|
t.integer "point_table_entry_id"
t.boolean "exact"
t.string "value"
@@ -5325,16 +5330,16 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "scoring_point_table_entry_strings", ["point_table_entry_id"], :name => "index_scoring_point_table_entry_strings_on_point_table_entry_id"
+ add_index "scoring_point_table_entry_strings", ["point_table_entry_id"], name: "index_scoring_point_table_entry_strings_on_point_table_entry_id", using: :btree
- create_table "scoring_point_table_types", :force => true do |t|
+ create_table "scoring_point_table_types", force: true do |t|
t.string "title"
t.string "class_name"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "scoring_point_tables", :force => true do |t|
+ create_table "scoring_point_tables", force: true do |t|
t.string "title"
t.integer "organization_id"
t.integer "scoring_point_table_type_id"
@@ -5342,19 +5347,19 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
t.text "description"
t.boolean "active"
- t.decimal "upper_limit_score", :precision => 13, :scale => 3
+ t.decimal "upper_limit_score", precision: 13, scale: 3
t.integer "order"
end
- add_index "scoring_point_tables", ["organization_id"], :name => "index_scoring_point_tables_on_organization_id"
- add_index "scoring_point_tables", ["scoring_point_table_type_id"], :name => "index_scoring_point_tables_on_scoring_point_table_type_id"
+ add_index "scoring_point_tables", ["organization_id"], name: "index_scoring_point_tables_on_organization_id", using: :btree
+ add_index "scoring_point_tables", ["scoring_point_table_type_id"], name: "index_scoring_point_tables_on_scoring_point_table_type_id", using: :btree
- create_table "secondary_school_courses", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "association_id", :null => false
- t.string "identifier", :null => false
- t.integer "secondary_school_grade_level_id", :null => false
- t.integer "secondary_school_id", :null => false
+ create_table "secondary_school_courses", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "association_id", null: false
+ t.string "identifier", null: false
+ t.integer "secondary_school_grade_level_id", null: false
+ t.integer "secondary_school_id", null: false
t.string "title"
t.integer "secondary_school_term_type_id"
t.integer "secondary_school_course_classification_id"
@@ -5368,64 +5373,64 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "q3_grade"
t.string "q4_grade"
t.string "full_year_grade"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "secondary_school_subject_id"
t.string "abbreviation"
t.string "discipline"
t.string "discipline_identifier"
end
- add_index "secondary_school_courses", ["applicant_id"], :name => "index_secondary_school_courses_on_applicant_id"
- add_index "secondary_school_courses", ["association_id"], :name => "index_secondary_school_courses_on_association_id"
- add_index "secondary_school_courses", ["secondary_school_grade_level_id"], :name => "ssc_secondary_school_grade_level_id"
- add_index "secondary_school_courses", ["secondary_school_id"], :name => "index_secondary_school_courses_on_secondary_school_id"
- add_index "secondary_school_courses", ["secondary_school_subject_id"], :name => "index_secondary_school_courses_on_subject_id"
+ add_index "secondary_school_courses", ["applicant_id"], name: "index_secondary_school_courses_on_applicant_id", using: :btree
+ add_index "secondary_school_courses", ["association_id"], name: "index_secondary_school_courses_on_association_id", using: :btree
+ add_index "secondary_school_courses", ["secondary_school_grade_level_id"], name: "ssc_secondary_school_grade_level_id", using: :btree
+ add_index "secondary_school_courses", ["secondary_school_id"], name: "index_secondary_school_courses_on_secondary_school_id", using: :btree
+ add_index "secondary_school_courses", ["secondary_school_subject_id"], name: "index_secondary_school_courses_on_subject_id", using: :btree
- create_table "secondary_school_details", :force => true do |t|
+ create_table "secondary_school_details", force: true do |t|
t.string "identifier"
- t.integer "applicant_id", :null => false
+ t.integer "applicant_id", null: false
t.date "graduation_date"
t.string "academic_international_performance"
t.string "international_degree_diploma_name"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "secondary_school_graduation_status_id"
- t.decimal "gpa", :precision => 5, :scale => 2
- t.decimal "subject_area_overall_total", :precision => 5, :scale => 2
+ t.decimal "gpa", precision: 5, scale: 2
+ t.decimal "subject_area_overall_total", precision: 5, scale: 2
end
- add_index "secondary_school_details", ["applicant_id"], :name => "index_secondary_school_details_on_applicant_id"
+ add_index "secondary_school_details", ["applicant_id"], name: "index_secondary_school_details_on_applicant_id", using: :btree
- create_table "secondary_school_grade_levels", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "association_id", :null => false
- t.string "identifier", :null => false
- t.integer "secondary_school_id", :null => false
+ create_table "secondary_school_grade_levels", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "association_id", null: false
+ t.string "identifier", null: false
+ t.integer "secondary_school_id", null: false
t.integer "grade_level_id"
t.string "academic_year"
t.boolean "include_summer"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "secondary_school_grade_levels", ["applicant_id"], :name => "index_secondary_school_grade_levels_on_applicant_id"
- add_index "secondary_school_grade_levels", ["association_id"], :name => "index_secondary_school_grade_levels_on_association_id"
- add_index "secondary_school_grade_levels", ["secondary_school_id"], :name => "index_secondary_school_grade_levels_on_secondary_school_id"
+ add_index "secondary_school_grade_levels", ["applicant_id"], name: "index_secondary_school_grade_levels_on_applicant_id", using: :btree
+ add_index "secondary_school_grade_levels", ["association_id"], name: "index_secondary_school_grade_levels_on_association_id", using: :btree
+ add_index "secondary_school_grade_levels", ["secondary_school_id"], name: "index_secondary_school_grade_levels_on_secondary_school_id", using: :btree
- create_table "secondary_school_subjects", :force => true do |t|
- t.integer "association_id", :null => false
+ create_table "secondary_school_subjects", force: true do |t|
+ t.integer "association_id", null: false
t.string "code"
- t.string "identifier", :null => false
+ t.string "identifier", null: false
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "secondary_school_subjects", ["association_id"], :name => "index_secondary_school_subjects_on_association_id"
- add_index "secondary_school_subjects", ["identifier"], :name => "index_secondary_school_subjects_on_identifier", :unique => true
+ add_index "secondary_school_subjects", ["association_id"], name: "index_secondary_school_subjects_on_association_id", using: :btree
+ add_index "secondary_school_subjects", ["identifier"], name: "index_secondary_school_subjects_on_identifier", unique: true, using: :btree
- create_table "secondary_schools", :force => true do |t|
+ create_table "secondary_schools", force: true do |t|
t.integer "identifier"
t.integer "applicant_id"
t.boolean "graduate"
@@ -5447,24 +5452,24 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "modified_name"
end
- add_index "secondary_schools", ["applicant_id"], :name => "index_secondary_schools_on_applicant_id"
- add_index "secondary_schools", ["identifier"], :name => "index_secondary_schools_on_identifier"
+ add_index "secondary_schools", ["applicant_id"], name: "index_secondary_schools_on_applicant_id", using: :btree
+ add_index "secondary_schools", ["identifier"], name: "index_secondary_schools_on_identifier", using: :btree
- create_table "secondary_subject_summaries", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "secondary_school_subject_id", :null => false
+ create_table "secondary_subject_summaries", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "secondary_school_subject_id", null: false
t.decimal "years"
t.datetime "created_at"
t.datetime "updated_at"
t.string "identifier"
end
- add_index "secondary_subject_summaries", ["applicant_id"], :name => "index_secondary_subject_summaries_on_applicant_id"
- add_index "secondary_subject_summaries", ["secondary_school_subject_id"], :name => "index_ss_summaries_on_ss_subject_id"
+ add_index "secondary_subject_summaries", ["applicant_id"], name: "index_secondary_subject_summaries_on_applicant_id", using: :btree
+ add_index "secondary_subject_summaries", ["secondary_school_subject_id"], name: "index_ss_summaries_on_ss_subject_id", using: :btree
- create_table "settings_transfer_details", :force => true do |t|
- t.boolean "complete", :default => false
- t.boolean "dismiss", :default => false
+ create_table "settings_transfer_details", force: true do |t|
+ t.boolean "complete", default: false
+ t.boolean "dismiss", default: false
t.text "data"
t.text "report"
t.integer "organization_id"
@@ -5472,9 +5477,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "settings_transfer_details", ["organization_id"], :name => "index_settings_transfers_on_organization_id", :unique => true
+ add_index "settings_transfer_details", ["organization_id"], name: "index_settings_transfers_on_organization_id", unique: true, using: :btree
- create_table "siblings", :force => true do |t|
+ create_table "siblings", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.integer "age"
@@ -5483,25 +5488,25 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "siblings", ["applicant_id"], :name => "index_siblings_on_applicant_id"
+ add_index "siblings", ["applicant_id"], name: "index_siblings_on_applicant_id", using: :btree
- create_table "slide_room_applications", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "designation_id", :null => false
- t.integer "program_id", :null => false
- t.string "application_id", :null => false
- t.integer "slide_room_submission_status_id", :null => false
+ create_table "slide_room_applications", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "designation_id", null: false
+ t.integer "program_id", null: false
+ t.string "application_id", null: false
+ t.integer "slide_room_submission_status_id", null: false
t.date "submitted_date"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "slide_room_applications", ["applicant_id"], :name => "index_slide_room_applications_applicant_id"
- add_index "slide_room_applications", ["designation_id"], :name => "uniq_index_slide_room_applications_designation_id", :unique => true
- add_index "slide_room_applications", ["program_id"], :name => "index_slide_room_applications_program_id"
- add_index "slide_room_applications", ["slide_room_submission_status_id"], :name => "index_slide_room_applications_submission_status_id"
+ add_index "slide_room_applications", ["applicant_id"], name: "index_slide_room_applications_applicant_id", using: :btree
+ add_index "slide_room_applications", ["designation_id"], name: "uniq_index_slide_room_applications_designation_id", unique: true, using: :btree
+ add_index "slide_room_applications", ["program_id"], name: "index_slide_room_applications_program_id", using: :btree
+ add_index "slide_room_applications", ["slide_room_submission_status_id"], name: "index_slide_room_applications_submission_status_id", using: :btree
- create_table "splashes", :force => true do |t|
+ create_table "splashes", force: true do |t|
t.string "title"
t.string "severity"
t.text "body"
@@ -5510,33 +5515,33 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- create_table "states", :force => true do |t|
+ create_table "states", force: true do |t|
t.string "abbreviation"
t.string "name"
t.datetime "updated_at"
t.datetime "created_at"
end
- create_table "statuses", :force => true do |t|
- t.integer "association_id", :null => false
+ create_table "statuses", force: true do |t|
+ t.integer "association_id", null: false
t.string "title"
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "show", :default => true
+ t.boolean "show", default: true
t.integer "order"
t.string "identifier"
t.string "type"
end
- add_index "statuses", ["association_id", "identifier"], :name => "index_statuses_on_association_id_and_identifier"
- add_index "statuses", ["association_id"], :name => "index_statuses_on_association_id"
- add_index "statuses", ["identifier"], :name => "index_statuses_on_identifier"
- add_index "statuses", ["show"], :name => "index_statuses_on_show"
- add_index "statuses", ["title"], :name => "index_statuses_on_title"
- add_index "statuses", ["type", "identifier"], :name => "index_statuses_on_type_and_identifier"
- add_index "statuses", ["type"], :name => "index_statuses_on_type"
+ add_index "statuses", ["association_id", "identifier"], name: "index_statuses_on_association_id_and_identifier", using: :btree
+ add_index "statuses", ["association_id"], name: "index_statuses_on_association_id", using: :btree
+ add_index "statuses", ["identifier"], name: "index_statuses_on_identifier", using: :btree
+ add_index "statuses", ["show"], name: "index_statuses_on_show", using: :btree
+ add_index "statuses", ["title"], name: "index_statuses_on_title", using: :btree
+ add_index "statuses", ["type", "identifier"], name: "index_statuses_on_type_and_identifier", using: :btree
+ add_index "statuses", ["type"], name: "index_statuses_on_type", using: :btree
- create_table "student_statuses", :force => true do |t|
+ create_table "student_statuses", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -5544,11 +5549,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "student_statuses", ["association_id", "identifier"], :name => "index_student_statuses_on_association_id_and_identifier"
- add_index "student_statuses", ["association_id"], :name => "index_student_statuses_on_association_id"
- add_index "student_statuses", ["identifier"], :name => "index_student_statuses_on_identifier"
+ add_index "student_statuses", ["association_id", "identifier"], name: "index_student_statuses_on_association_id_and_identifier", using: :btree
+ add_index "student_statuses", ["association_id"], name: "index_student_statuses_on_association_id", using: :btree
+ add_index "student_statuses", ["identifier"], name: "index_student_statuses_on_identifier", using: :btree
- create_table "subjects", :force => true do |t|
+ create_table "subjects", force: true do |t|
t.integer "association_id"
t.string "subject_code"
t.string "name"
@@ -5558,25 +5563,25 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "created_at"
t.datetime "updated_at"
t.string "identifier"
- t.boolean "has_courses", :default => true
- t.boolean "has_gpas", :default => true
+ t.boolean "has_courses", default: true
+ t.boolean "has_gpas", default: true
t.string "tag"
- t.boolean "advisor", :default => true
+ t.boolean "advisor", default: true
end
- add_index "subjects", ["association_id", "identifier"], :name => "index_subjects_on_association_id_and_identifier"
- add_index "subjects", ["association_id"], :name => "index_subjects_on_association_id"
- add_index "subjects", ["identifier"], :name => "index_subjects_on_identifier"
- add_index "subjects", ["option_set_id"], :name => "index_subjects_on_option_set_id"
+ add_index "subjects", ["association_id", "identifier"], name: "index_subjects_on_association_id_and_identifier", using: :btree
+ add_index "subjects", ["association_id"], name: "index_subjects_on_association_id", using: :btree
+ add_index "subjects", ["identifier"], name: "index_subjects_on_identifier", using: :btree
+ add_index "subjects", ["option_set_id"], name: "index_subjects_on_option_set_id", using: :btree
- create_table "subpanel_assignments", :force => true do |t|
- t.integer "association_id", :null => false
- t.integer "subpanel_id", :null => false
+ create_table "subpanel_assignments", force: true do |t|
+ t.integer "association_id", null: false
+ t.integer "subpanel_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "subpanels", :force => true do |t|
+ create_table "subpanels", force: true do |t|
t.string "identifier"
t.string "name"
t.datetime "created_at"
@@ -5587,38 +5592,38 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "field_category_id"
end
- create_table "supplemental_lookups", :force => true do |t|
+ create_table "supplemental_lookups", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "supplemental_option_set_identifier"
t.string "name"
t.datetime "updated_at"
t.datetime "created_at"
- t.string "type", :null => false
+ t.string "type", null: false
t.string "export_code"
end
- add_index "supplemental_lookups", ["association_id", "identifier"], :name => "index_supplemental_lookups_on_association_id_and_identifier"
- add_index "supplemental_lookups", ["association_id"], :name => "index_supplemental_lookups_on_association_id"
- add_index "supplemental_lookups", ["identifier"], :name => "index_supplemental_lookups_on_identifier"
- add_index "supplemental_lookups", ["supplemental_option_set_identifier"], :name => "lookup_option_set_identifier_indx"
- add_index "supplemental_lookups", ["type"], :name => "index_supplemental_lookups_on_type"
+ add_index "supplemental_lookups", ["association_id", "identifier"], name: "index_supplemental_lookups_on_association_id_and_identifier", using: :btree
+ add_index "supplemental_lookups", ["association_id"], name: "index_supplemental_lookups_on_association_id", using: :btree
+ add_index "supplemental_lookups", ["identifier"], name: "index_supplemental_lookups_on_identifier", using: :btree
+ add_index "supplemental_lookups", ["supplemental_option_set_identifier"], name: "lookup_option_set_identifier_indx", using: :btree
+ add_index "supplemental_lookups", ["type"], name: "index_supplemental_lookups_on_type", using: :btree
- create_table "supplemental_question_blocks", :force => true do |t|
- t.integer "identifier", :null => false
+ create_table "supplemental_question_blocks", force: true do |t|
+ t.integer "identifier", null: false
t.string "title"
t.date "created_date"
t.date "updated_date"
t.datetime "created_at"
t.datetime "updated_at"
- t.integer "field_category_id", :null => false
- t.string "type", :null => false
+ t.integer "field_category_id", null: false
+ t.string "type", null: false
end
- add_index "supplemental_question_blocks", ["identifier", "type"], :name => "index_supplemental_question_blocks_on_identifier_and_type", :unique => true
- add_index "supplemental_question_blocks", ["identifier"], :name => "index_supplemental_question_blocks_on_identifier"
+ add_index "supplemental_question_blocks", ["identifier", "type"], name: "index_supplemental_question_blocks_on_identifier_and_type", unique: true, using: :btree
+ add_index "supplemental_question_blocks", ["identifier"], name: "index_supplemental_question_blocks_on_identifier", using: :btree
- create_table "term_types", :force => true do |t|
+ create_table "term_types", force: true do |t|
t.string "name"
t.integer "association_id"
t.integer "identifier"
@@ -5626,11 +5631,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "updated_at"
end
- add_index "term_types", ["association_id", "identifier"], :name => "index_term_types_on_association_id_and_identifier"
- add_index "term_types", ["association_id"], :name => "index_term_types_on_association_id"
- add_index "term_types", ["identifier"], :name => "index_term_types_on_identifier"
+ add_index "term_types", ["association_id", "identifier"], name: "index_term_types_on_association_id_and_identifier", using: :btree
+ add_index "term_types", ["association_id"], name: "index_term_types_on_association_id", using: :btree
+ add_index "term_types", ["identifier"], name: "index_term_types_on_identifier", using: :btree
- create_table "terms", :force => true do |t|
+ create_table "terms", force: true do |t|
t.integer "code"
t.string "name"
t.datetime "created_at"
@@ -5640,11 +5645,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "order"
end
- add_index "terms", ["association_id", "identifier"], :name => "index_terms_on_association_id_and_identifier"
- add_index "terms", ["association_id"], :name => "index_terms_on_association_id"
- add_index "terms", ["identifier"], :name => "index_terms_on_identifier"
+ add_index "terms", ["association_id", "identifier"], name: "index_terms_on_association_id_and_identifier", using: :btree
+ add_index "terms", ["association_id"], name: "index_terms_on_association_id", using: :btree
+ add_index "terms", ["identifier"], name: "index_terms_on_identifier", using: :btree
- create_table "test_receipts", :force => true do |t|
+ create_table "test_receipts", force: true do |t|
t.integer "test_id"
t.integer "organization_id"
t.datetime "created_at"
@@ -5653,10 +5658,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.date "received_date"
end
- add_index "test_receipts", ["organization_id"], :name => "index_tests_official_result_receiveds_on_organization_id"
- add_index "test_receipts", ["test_id"], :name => "index_tests_official_result_receiveds_on_test_id"
+ add_index "test_receipts", ["organization_id"], name: "index_tests_official_result_receiveds_on_organization_id", using: :btree
+ add_index "test_receipts", ["test_id"], name: "index_tests_official_result_receiveds_on_test_id", using: :btree
- create_table "test_receivers", :force => true do |t|
+ create_table "test_receivers", force: true do |t|
t.integer "organization_id"
t.integer "test_id"
t.string "identifier"
@@ -5666,13 +5671,13 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "applicant_id"
end
- add_index "test_receivers", ["applicant_id"], :name => "index_test_receivers_on_applicant_id"
- add_index "test_receivers", ["association_id", "identifier"], :name => "index_test_receivers_on_association_id_and_identifier"
- add_index "test_receivers", ["organization_id", "test_id"], :name => "index_test_receivers_on_organization_id_and_test_id"
- add_index "test_receivers", ["organization_id"], :name => "index_test_receivers_on_organization_id"
- add_index "test_receivers", ["test_id"], :name => "index_test_receivers_on_test_id"
+ add_index "test_receivers", ["applicant_id"], name: "index_test_receivers_on_applicant_id", using: :btree
+ add_index "test_receivers", ["association_id", "identifier"], name: "index_test_receivers_on_association_id_and_identifier", using: :btree
+ add_index "test_receivers", ["organization_id", "test_id"], name: "index_test_receivers_on_organization_id_and_test_id", using: :btree
+ add_index "test_receivers", ["organization_id"], name: "index_test_receivers_on_organization_id", using: :btree
+ add_index "test_receivers", ["test_id"], name: "index_test_receivers_on_test_id", using: :btree
- create_table "test_scores_accuplacer", :force => true do |t|
+ create_table "test_scores_accuplacer", force: true do |t|
t.integer "test_id"
t.datetime "created_at"
t.datetime "updated_at"
@@ -5688,18 +5693,18 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_accuplacer", ["applicant_id"], :name => "index_test_scores_accuplacer_on_applicant_id"
- add_index "test_scores_accuplacer", ["test_id"], :name => "index_test_scores_accuplacer_on_test_id"
+ add_index "test_scores_accuplacer", ["applicant_id"], name: "index_test_scores_accuplacer_on_applicant_id", using: :btree
+ add_index "test_scores_accuplacer", ["test_id"], name: "index_test_scores_accuplacer_on_test_id", using: :btree
- create_table "test_scores_act", :force => true do |t|
+ create_table "test_scores_act", force: true do |t|
t.integer "test_id"
t.integer "english"
t.integer "math"
t.integer "reading"
t.integer "science"
t.integer "writing"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "english_percentile"
t.integer "math_percentile"
t.integer "reading_percentile"
@@ -5715,11 +5720,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "student_id"
end
- add_index "test_scores_act", ["applicant_id"], :name => "index_test_scores_act_on_applicant_id"
- add_index "test_scores_act", ["test_id"], :name => "index_test_scores_act_on_test_id"
+ add_index "test_scores_act", ["applicant_id"], name: "index_test_scores_act_on_applicant_id", using: :btree
+ add_index "test_scores_act", ["test_id"], name: "index_test_scores_act_on_test_id", using: :btree
- create_table "test_scores_act_after_sept_2015", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "test_scores_act_after_sept_2015", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "test_id"
t.string "student_id"
t.date "taken_on"
@@ -5730,15 +5735,15 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "reading"
t.integer "writing"
t.integer "composite"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "test_scores_act_after_sept_2015", ["applicant_id"], :name => "index_test_scores_act_after_sept_2015_on_applicant_id"
- add_index "test_scores_act_after_sept_2015", ["test_id"], :name => "index_test_scores_act_after_sept_2015_on_test_id"
+ add_index "test_scores_act_after_sept_2015", ["applicant_id"], name: "index_test_scores_act_after_sept_2015_on_applicant_id", using: :btree
+ add_index "test_scores_act_after_sept_2015", ["test_id"], name: "index_test_scores_act_after_sept_2015_on_test_id", using: :btree
- create_table "test_scores_act_official_after_sept_2015", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "test_scores_act_official_after_sept_2015", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "test_id"
t.date "taken_on"
t.date "received_on"
@@ -5758,14 +5763,14 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "english_writing"
end
- add_index "test_scores_act_official_after_sept_2015", ["applicant_id"], :name => "index_test_scores_act_official_after_sept_2015_on_applicant_id"
- add_index "test_scores_act_official_after_sept_2015", ["corrected_indicator_score_id"], :name => "index_test_scores_act_after_sept_2015_on_corrected_score_id"
- add_index "test_scores_act_official_after_sept_2015", ["test_id"], :name => "index_test_scores_act_official_after_sept_2015_on_test_id"
- add_index "test_scores_act_official_after_sept_2015", ["test_type_location_id"], :name => "index_test_scores_act_after_sept_2015_on_test_type_location_id"
+ add_index "test_scores_act_official_after_sept_2015", ["applicant_id"], name: "index_test_scores_act_official_after_sept_2015_on_applicant_id", using: :btree
+ add_index "test_scores_act_official_after_sept_2015", ["corrected_indicator_score_id"], name: "index_test_scores_act_after_sept_2015_on_corrected_score_id", using: :btree
+ add_index "test_scores_act_official_after_sept_2015", ["test_id"], name: "index_test_scores_act_official_after_sept_2015_on_test_id", using: :btree
+ add_index "test_scores_act_official_after_sept_2015", ["test_type_location_id"], name: "index_test_scores_act_after_sept_2015_on_test_type_location_id", using: :btree
- create_table "test_scores_act_official_after_sept_2016", :force => true do |t|
- t.integer "applicant_id", :null => false
- t.integer "test_id", :null => false
+ create_table "test_scores_act_official_after_sept_2016", force: true do |t|
+ t.integer "applicant_id", null: false
+ t.integer "test_id", null: false
t.string "student_id"
t.date "received_on"
t.date "taken_on"
@@ -5780,17 +5785,17 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "test_type_location_id"
t.integer "english_writing"
t.integer "corrected_indicator_score_id"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "test_scores_act_official_after_sept_2016", ["applicant_id"], :name => "index_test_scores_act_after_sept_2016_on_applicant_id"
- add_index "test_scores_act_official_after_sept_2016", ["corrected_indicator_score_id"], :name => "index_test_scores_act_after_sept_2016_on_corrected_score_id"
- add_index "test_scores_act_official_after_sept_2016", ["test_id"], :name => "index_test_scores_act_after_sept_2016_on_test_id"
- add_index "test_scores_act_official_after_sept_2016", ["test_type_location_id"], :name => "index_test_scores_act_after_sept_2016_on_test_type_location_id"
+ add_index "test_scores_act_official_after_sept_2016", ["applicant_id"], name: "index_test_scores_act_after_sept_2016_on_applicant_id", using: :btree
+ add_index "test_scores_act_official_after_sept_2016", ["corrected_indicator_score_id"], name: "index_test_scores_act_after_sept_2016_on_corrected_score_id", using: :btree
+ add_index "test_scores_act_official_after_sept_2016", ["test_id"], name: "index_test_scores_act_after_sept_2016_on_test_id", using: :btree
+ add_index "test_scores_act_official_after_sept_2016", ["test_type_location_id"], name: "index_test_scores_act_after_sept_2016_on_test_type_location_id", using: :btree
- create_table "test_scores_act_official_before_sept_2015", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "test_scores_act_official_before_sept_2015", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "test_id"
t.date "taken_on"
t.date "received_on"
@@ -5801,19 +5806,19 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "science"
t.integer "writing"
t.integer "composite"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "corrected_indicator_score_id"
t.integer "test_type_location_id"
t.integer "english_writing"
end
- add_index "test_scores_act_official_before_sept_2015", ["applicant_id"], :name => "idx_test_scores_act_official_before_sept_2015_on_applicant_id"
- add_index "test_scores_act_official_before_sept_2015", ["corrected_indicator_score_id"], :name => "index_test_scores_act_before_sept_2015_on_corrected_score_id"
- add_index "test_scores_act_official_before_sept_2015", ["test_id"], :name => "index_test_scores_act_official_before_sept_2015_on_test_id"
- add_index "test_scores_act_official_before_sept_2015", ["test_type_location_id"], :name => "index_test_scores_act_before_sept_2015_on_test_type_location_id"
+ add_index "test_scores_act_official_before_sept_2015", ["applicant_id"], name: "idx_test_scores_act_official_before_sept_2015_on_applicant_id", using: :btree
+ add_index "test_scores_act_official_before_sept_2015", ["corrected_indicator_score_id"], name: "index_test_scores_act_before_sept_2015_on_corrected_score_id", using: :btree
+ add_index "test_scores_act_official_before_sept_2015", ["test_id"], name: "index_test_scores_act_official_before_sept_2015_on_test_id", using: :btree
+ add_index "test_scores_act_official_before_sept_2015", ["test_type_location_id"], name: "index_test_scores_act_before_sept_2015_on_test_type_location_id", using: :btree
- create_table "test_scores_adat_official", :force => true do |t|
+ create_table "test_scores_adat_official", force: true do |t|
t.integer "biomedical_sciences"
t.integer "clinical_sciences"
t.integer "critical_thinking"
@@ -5828,10 +5833,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "applicant_id"
end
- add_index "test_scores_adat_official", ["applicant_id"], :name => "index_test_scores_adat_official_on_applicant_id"
- add_index "test_scores_adat_official", ["test_id"], :name => "index_test_scores_adat_official_on_test_id"
+ add_index "test_scores_adat_official", ["applicant_id"], name: "index_test_scores_adat_official_on_applicant_id", using: :btree
+ add_index "test_scores_adat_official", ["test_id"], name: "index_test_scores_adat_official_on_test_id", using: :btree
- create_table "test_scores_ap", :force => true do |t|
+ create_table "test_scores_ap", force: true do |t|
t.integer "test_id"
t.string "name"
t.integer "score"
@@ -5842,10 +5847,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_ap", ["applicant_id"], :name => "index_test_scores_ap_on_applicant_id"
- add_index "test_scores_ap", ["test_id"], :name => "index_test_scores_ap_on_test_id"
+ add_index "test_scores_ap", ["applicant_id"], name: "index_test_scores_ap_on_applicant_id", using: :btree
+ add_index "test_scores_ap", ["test_id"], name: "index_test_scores_ap_on_test_id", using: :btree
- create_table "test_scores_canadian_dat", :force => true do |t|
+ create_table "test_scores_canadian_dat", force: true do |t|
t.integer "test_id"
t.integer "academic_average"
t.integer "biology"
@@ -5862,10 +5867,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "applicant_id"
end
- add_index "test_scores_canadian_dat", ["applicant_id"], :name => "index_test_scores_canadian_dat_on_applicant_id"
- add_index "test_scores_canadian_dat", ["test_id"], :name => "index_test_scores_canadian_dat_on_test_id"
+ add_index "test_scores_canadian_dat", ["applicant_id"], name: "index_test_scores_canadian_dat_on_applicant_id", using: :btree
+ add_index "test_scores_canadian_dat", ["test_id"], name: "index_test_scores_canadian_dat_on_test_id", using: :btree
- create_table "test_scores_clep", :force => true do |t|
+ create_table "test_scores_clep", force: true do |t|
t.integer "test_id"
t.integer "grade"
t.string "name"
@@ -5876,9 +5881,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_clep", ["applicant_id"], :name => "index_test_scores_clep_on_applicant_id"
+ add_index "test_scores_clep", ["applicant_id"], name: "index_test_scores_clep_on_applicant_id", using: :btree
- create_table "test_scores_dat", :force => true do |t|
+ create_table "test_scores_dat", force: true do |t|
t.integer "test_id"
t.integer "academic_average"
t.integer "perceputal_ability"
@@ -5887,8 +5892,8 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "biology"
t.integer "general_chemistry"
t.integer "organic_chemistry"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "total_science"
t.integer "dentpin"
t.integer "applicant_id"
@@ -5896,10 +5901,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_dat", ["applicant_id"], :name => "index_test_scores_dat_on_applicant_id"
- add_index "test_scores_dat", ["test_id"], :name => "index_test_scores_dat_on_test_id"
+ add_index "test_scores_dat", ["applicant_id"], name: "index_test_scores_dat_on_applicant_id", using: :btree
+ add_index "test_scores_dat", ["test_id"], name: "index_test_scores_dat_on_test_id", using: :btree
- create_table "test_scores_dat_official", :force => true do |t|
+ create_table "test_scores_dat_official", force: true do |t|
t.integer "test_id"
t.integer "academic_average"
t.integer "biology"
@@ -5915,27 +5920,27 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "applicant_id"
end
- add_index "test_scores_dat_official", ["applicant_id"], :name => "index_test_scores_dat_official_on_applicant_id"
- add_index "test_scores_dat_official", ["test_id"], :name => "index_test_scores_dat_official_on_test_id"
+ add_index "test_scores_dat_official", ["applicant_id"], name: "index_test_scores_dat_official_on_applicant_id", using: :btree
+ add_index "test_scores_dat_official", ["test_id"], name: "index_test_scores_dat_official_on_test_id", using: :btree
- create_table "test_scores_exadep", :force => true do |t|
+ create_table "test_scores_exadep", force: true do |t|
t.integer "test_id"
t.integer "verbal_aptitude"
t.integer "math_analytical_reasoning"
t.integer "written_expression"
t.integer "english"
t.integer "total_score"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "applicant_id"
t.date "taken_on"
t.integer "status_id"
end
- add_index "test_scores_exadep", ["applicant_id"], :name => "index_test_scores_exadep_on_applicant_id"
- add_index "test_scores_exadep", ["test_id"], :name => "index_test_scores_exadep_on_test_id"
+ add_index "test_scores_exadep", ["applicant_id"], name: "index_test_scores_exadep_on_applicant_id", using: :btree
+ add_index "test_scores_exadep", ["test_id"], name: "index_test_scores_exadep_on_test_id", using: :btree
- create_table "test_scores_gce", :force => true do |t|
+ create_table "test_scores_gce", force: true do |t|
t.integer "test_id"
t.integer "subject_id"
t.integer "level_id"
@@ -5947,16 +5952,16 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_gce", ["applicant_id"], :name => "index_test_scores_gce_on_applicant_id"
+ add_index "test_scores_gce", ["applicant_id"], name: "index_test_scores_gce_on_applicant_id", using: :btree
- create_table "test_scores_gmat", :force => true do |t|
+ create_table "test_scores_gmat", force: true do |t|
t.integer "test_id"
t.integer "quantitative"
t.integer "score"
t.integer "verbal"
- t.decimal "writing", :precision => 4, :scale => 1
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.decimal "writing", precision: 4, scale: 1
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "quantitative_percentile"
t.integer "overall_percentile"
t.integer "verbal_percentile"
@@ -5970,14 +5975,14 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "applicant_id"
end
- add_index "test_scores_gmat", ["applicant_id"], :name => "index_test_scores_gmat_on_applicant_id"
- add_index "test_scores_gmat", ["test_id"], :name => "index_test_scores_gmat_on_test_id"
+ add_index "test_scores_gmat", ["applicant_id"], name: "index_test_scores_gmat_on_applicant_id", using: :btree
+ add_index "test_scores_gmat", ["test_id"], name: "index_test_scores_gmat_on_test_id", using: :btree
- create_table "test_scores_gmat_official", :force => true do |t|
- t.integer "test_id", :null => false
+ create_table "test_scores_gmat_official", force: true do |t|
+ t.integer "test_id", null: false
t.integer "reasoning"
t.integer "reasoning_percentile"
- t.decimal "writing", :precision => 4, :scale => 1
+ t.decimal "writing", precision: 4, scale: 1
t.integer "writing_percentile"
t.integer "verbal"
t.integer "verbal_percentile"
@@ -5993,10 +5998,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.date "received_on"
end
- add_index "test_scores_gmat_official", ["applicant_id"], :name => "index_test_scores_gmat_official_on_applicant_id"
- add_index "test_scores_gmat_official", ["test_id"], :name => "index_test_scores_gmat_official_on_test_id"
+ add_index "test_scores_gmat_official", ["applicant_id"], name: "index_test_scores_gmat_official_on_applicant_id", using: :btree
+ add_index "test_scores_gmat_official", ["test_id"], name: "index_test_scores_gmat_official_on_test_id", using: :btree
- create_table "test_scores_gre2", :force => true do |t|
+ create_table "test_scores_gre2", force: true do |t|
t.integer "test_id"
t.integer "organization_id"
t.integer "type_id"
@@ -6012,51 +6017,51 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "percentile_2"
t.integer "percentile_3"
t.integer "percentile_4"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "registration_number"
t.integer "applicant_id"
t.date "taken_on"
t.integer "status_id"
end
- add_index "test_scores_gre2", ["applicant_id"], :name => "index_test_scores_gre2_on_applicant_id"
- add_index "test_scores_gre2", ["organization_id"], :name => "index_test_scores_gre2_on_organization_id"
- add_index "test_scores_gre2", ["score_1_type_id"], :name => "index_test_scores_gre2_on_score_1_type_id"
- add_index "test_scores_gre2", ["score_2_type_id"], :name => "index_test_scores_gre2_on_score_2_type_id"
- add_index "test_scores_gre2", ["score_3_type_id"], :name => "index_test_scores_gre2_on_score_3_type_id"
- add_index "test_scores_gre2", ["score_4_type_id"], :name => "index_test_scores_gre2_on_score_4_type_id"
- add_index "test_scores_gre2", ["test_id"], :name => "index_test_scores_gre2_on_test_id"
- add_index "test_scores_gre2", ["type_id"], :name => "index_test_scores_gre2_on_type_id"
+ add_index "test_scores_gre2", ["applicant_id"], name: "index_test_scores_gre2_on_applicant_id", using: :btree
+ add_index "test_scores_gre2", ["organization_id"], name: "index_test_scores_gre2_on_organization_id", using: :btree
+ add_index "test_scores_gre2", ["score_1_type_id"], name: "index_test_scores_gre2_on_score_1_type_id", using: :btree
+ add_index "test_scores_gre2", ["score_2_type_id"], name: "index_test_scores_gre2_on_score_2_type_id", using: :btree
+ add_index "test_scores_gre2", ["score_3_type_id"], name: "index_test_scores_gre2_on_score_3_type_id", using: :btree
+ add_index "test_scores_gre2", ["score_4_type_id"], name: "index_test_scores_gre2_on_score_4_type_id", using: :btree
+ add_index "test_scores_gre2", ["test_id"], name: "index_test_scores_gre2_on_test_id", using: :btree
+ add_index "test_scores_gre2", ["type_id"], name: "index_test_scores_gre2_on_type_id", using: :btree
- create_table "test_scores_gre_general", :force => true do |t|
+ create_table "test_scores_gre_general", force: true do |t|
t.integer "test_id"
- t.decimal "analytical_writing", :precision => 3, :scale => 1
+ t.decimal "analytical_writing", precision: 3, scale: 1
t.integer "analytical_writing_percentile"
t.integer "quantitative"
t.integer "quantitative_percentile"
t.integer "verbal"
t.integer "verbal_percentile"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "status_id"
t.date "taken_on"
t.integer "applicant_id"
end
- add_index "test_scores_gre_general", ["applicant_id"], :name => "index_test_scores_gre_general_on_applicant_id"
- add_index "test_scores_gre_general", ["test_id"], :name => "index_test_scores_gre_general_on_test_id"
+ add_index "test_scores_gre_general", ["applicant_id"], name: "index_test_scores_gre_general_on_applicant_id", using: :btree
+ add_index "test_scores_gre_general", ["test_id"], name: "index_test_scores_gre_general_on_test_id", using: :btree
- create_table "test_scores_gre_general_official", :force => true do |t|
+ create_table "test_scores_gre_general_official", force: true do |t|
t.integer "test_id"
- t.decimal "analytical_writing", :precision => 3, :scale => 1
+ t.decimal "analytical_writing", precision: 3, scale: 1
t.integer "analytical_writing_percentile"
t.integer "quantitative"
t.integer "quantitative_percentile"
t.integer "verbal"
t.integer "verbal_percentile"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "estimated_score_1"
t.integer "estimated_score_2"
t.integer "overall_result"
@@ -6065,10 +6070,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.date "received_on"
end
- add_index "test_scores_gre_general_official", ["applicant_id"], :name => "index_test_scores_gre_general_official_on_applicant_id"
- add_index "test_scores_gre_general_official", ["test_id"], :name => "index_test_scores_gre_general_official_on_test_id"
+ add_index "test_scores_gre_general_official", ["applicant_id"], name: "index_test_scores_gre_general_official_on_applicant_id", using: :btree
+ add_index "test_scores_gre_general_official", ["test_id"], name: "index_test_scores_gre_general_official_on_test_id", using: :btree
- create_table "test_scores_gre_subject", :force => true do |t|
+ create_table "test_scores_gre_subject", force: true do |t|
t.integer "test_id"
t.integer "type_id"
t.integer "total_score"
@@ -6081,22 +6086,22 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_gre_subject", ["applicant_id"], :name => "index_test_scores_gre_subject_on_applicant_id"
- add_index "test_scores_gre_subject", ["test_id"], :name => "index_test_scores_gre_subject_on_test_id"
- add_index "test_scores_gre_subject", ["type_id"], :name => "index_test_scores_gre_subject_on_type_id"
+ add_index "test_scores_gre_subject", ["applicant_id"], name: "index_test_scores_gre_subject_on_applicant_id", using: :btree
+ add_index "test_scores_gre_subject", ["test_id"], name: "index_test_scores_gre_subject_on_test_id", using: :btree
+ add_index "test_scores_gre_subject", ["type_id"], name: "index_test_scores_gre_subject_on_type_id", using: :btree
- create_table "test_scores_gre_subject_official", :force => true do |t|
+ create_table "test_scores_gre_subject_official", force: true do |t|
t.integer "test_id"
t.integer "total_score"
- t.decimal "subscore_1", :precision => 4, :scale => 1
- t.decimal "subscore_2", :precision => 4, :scale => 1
- t.decimal "subscore_3", :precision => 4, :scale => 1
+ t.decimal "subscore_1", precision: 4, scale: 1
+ t.decimal "subscore_2", precision: 4, scale: 1
+ t.decimal "subscore_3", precision: 4, scale: 1
t.integer "total_percentile"
t.integer "subscore_1_percentile"
t.integer "subscore_2_percentile"
t.integer "subscore_3_percentile"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "type_id"
t.string "subscore_1_section"
t.string "subscore_2_section"
@@ -6107,29 +6112,29 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "subscore_4_section"
t.string "subscore_5_section"
t.string "subscore_6_section"
- t.decimal "subscore_4", :precision => 4, :scale => 1
- t.decimal "subscore_5", :precision => 4, :scale => 1
- t.decimal "subscore_6", :precision => 4, :scale => 1
+ t.decimal "subscore_4", precision: 4, scale: 1
+ t.decimal "subscore_5", precision: 4, scale: 1
+ t.decimal "subscore_6", precision: 4, scale: 1
t.integer "subscore_4_percentile"
t.integer "subscore_5_percentile"
t.integer "subscore_6_percentile"
end
- add_index "test_scores_gre_subject_official", ["applicant_id"], :name => "index_test_scores_gre_subject_official_on_applicant_id"
- add_index "test_scores_gre_subject_official", ["test_id"], :name => "index_test_scores_gre_subject_official_on_test_id"
- add_index "test_scores_gre_subject_official", ["type_id"], :name => "index_test_scores_gre_subject_official_on_type_id"
+ add_index "test_scores_gre_subject_official", ["applicant_id"], name: "index_test_scores_gre_subject_official_on_applicant_id", using: :btree
+ add_index "test_scores_gre_subject_official", ["test_id"], name: "index_test_scores_gre_subject_official_on_test_id", using: :btree
+ add_index "test_scores_gre_subject_official", ["type_id"], name: "index_test_scores_gre_subject_official_on_type_id", using: :btree
- create_table "test_scores_hesi", :force => true do |t|
+ create_table "test_scores_hesi", force: true do |t|
t.integer "test_id"
t.integer "version_id"
- t.decimal "anatomy_and_physiology", :precision => 6, :scale => 2
- t.decimal "biology", :precision => 6, :scale => 2
- t.decimal "composite", :precision => 6, :scale => 2
- t.decimal "grammar", :precision => 6, :scale => 2
- t.decimal "math", :precision => 6, :scale => 2
- t.decimal "reading_comprehension", :precision => 6, :scale => 2
- t.decimal "vocabulary_and_general_knowledge", :precision => 6, :scale => 2
- t.decimal "chemistry", :precision => 6, :scale => 2
+ t.decimal "anatomy_and_physiology", precision: 6, scale: 2
+ t.decimal "biology", precision: 6, scale: 2
+ t.decimal "composite", precision: 6, scale: 2
+ t.decimal "grammar", precision: 6, scale: 2
+ t.decimal "math", precision: 6, scale: 2
+ t.decimal "reading_comprehension", precision: 6, scale: 2
+ t.decimal "vocabulary_and_general_knowledge", precision: 6, scale: 2
+ t.decimal "chemistry", precision: 6, scale: 2
t.datetime "created_at"
t.datetime "updated_at"
t.integer "applicant_id"
@@ -6137,10 +6142,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_hesi", ["applicant_id"], :name => "index_test_scores_hesi_on_applicant_id"
- add_index "test_scores_hesi", ["test_id"], :name => "index_test_scores_hesi_on_test_id"
+ add_index "test_scores_hesi", ["applicant_id"], name: "index_test_scores_hesi_on_applicant_id", using: :btree
+ add_index "test_scores_hesi", ["test_id"], name: "index_test_scores_hesi_on_test_id", using: :btree
- create_table "test_scores_hobet", :force => true do |t|
+ create_table "test_scores_hobet", force: true do |t|
t.integer "test_id"
t.integer "reading"
t.integer "mathematics"
@@ -6154,17 +6159,17 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_hobet", ["applicant_id"], :name => "index_test_scores_hobet_on_applicant_id"
- add_index "test_scores_hobet", ["test_id"], :name => "index_test_scores_hobet_on_test_id"
+ add_index "test_scores_hobet", ["applicant_id"], name: "index_test_scores_hobet_on_applicant_id", using: :btree
+ add_index "test_scores_hobet", ["test_id"], name: "index_test_scores_hobet_on_test_id", using: :btree
- create_table "test_scores_hrst", :force => true do |t|
+ create_table "test_scores_hrst", force: true do |t|
t.integer "analysis"
t.integer "deduction"
t.integer "evaluation"
t.integer "induction"
t.integer "inference"
t.integer "overall"
- t.integer "test_id", :null => false
+ t.integer "test_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.integer "applicant_id"
@@ -6172,76 +6177,76 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_hrst", ["applicant_id"], :name => "index_test_scores_hrst_on_applicant_id"
- add_index "test_scores_hrst", ["test_id"], :name => "index_test_scores_hrst_on_test_id"
+ add_index "test_scores_hrst", ["applicant_id"], name: "index_test_scores_hrst_on_applicant_id", using: :btree
+ add_index "test_scores_hrst", ["test_id"], name: "index_test_scores_hrst_on_test_id", using: :btree
- create_table "test_scores_ielts", :force => true do |t|
+ create_table "test_scores_ielts", force: true do |t|
t.integer "test_id"
t.string "candidate_number"
t.string "center_number"
- t.decimal "listening", :precision => 3, :scale => 1
- t.decimal "reading", :precision => 3, :scale => 1
- t.decimal "score", :precision => 2, :scale => 1
- t.decimal "speaking", :precision => 3, :scale => 1
- t.decimal "writing", :precision => 3, :scale => 1
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.decimal "listening", precision: 3, scale: 1
+ t.decimal "reading", precision: 3, scale: 1
+ t.decimal "score", precision: 2, scale: 1
+ t.decimal "speaking", precision: 3, scale: 1
+ t.decimal "writing", precision: 3, scale: 1
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.string "registration_number"
t.integer "status_id"
t.date "taken_on"
t.integer "applicant_id"
end
- add_index "test_scores_ielts", ["applicant_id"], :name => "index_test_scores_ielts_on_applicant_id"
- add_index "test_scores_ielts", ["test_id"], :name => "index_test_scores_ielts_on_test_id"
+ add_index "test_scores_ielts", ["applicant_id"], name: "index_test_scores_ielts_on_applicant_id", using: :btree
+ add_index "test_scores_ielts", ["test_id"], name: "index_test_scores_ielts_on_test_id", using: :btree
- create_table "test_scores_ielts_official", :force => true do |t|
+ create_table "test_scores_ielts_official", force: true do |t|
t.integer "test_id"
t.string "candidate_number"
- t.decimal "listening", :precision => 3, :scale => 1
- t.decimal "reading", :precision => 3, :scale => 1
- t.decimal "score", :precision => 2, :scale => 1
- t.decimal "speaking", :precision => 3, :scale => 1
- t.decimal "writing", :precision => 3, :scale => 1
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.decimal "listening", precision: 3, scale: 1
+ t.decimal "reading", precision: 3, scale: 1
+ t.decimal "score", precision: 2, scale: 1
+ t.decimal "speaking", precision: 3, scale: 1
+ t.decimal "writing", precision: 3, scale: 1
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.date "official_import_date"
t.integer "applicant_id"
t.date "taken_on"
end
- add_index "test_scores_ielts_official", ["applicant_id"], :name => "index_test_scores_ielts_official_on_applicant_id"
- add_index "test_scores_ielts_official", ["test_id"], :name => "index_test_scores_ielts_official_on_test_id"
+ add_index "test_scores_ielts_official", ["applicant_id"], name: "index_test_scores_ielts_official_on_applicant_id", using: :btree
+ add_index "test_scores_ielts_official", ["test_id"], name: "index_test_scores_ielts_official_on_test_id", using: :btree
- create_table "test_scores_lsat", :force => true do |t|
+ create_table "test_scores_lsat", force: true do |t|
t.integer "test_id"
t.integer "score"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "applicant_id"
t.date "taken_on"
t.integer "status_id"
end
- add_index "test_scores_lsat", ["applicant_id"], :name => "index_test_scores_lsat_on_applicant_id"
- add_index "test_scores_lsat", ["test_id"], :name => "index_test_scores_lsat_on_test_id"
+ add_index "test_scores_lsat", ["applicant_id"], name: "index_test_scores_lsat_on_applicant_id", using: :btree
+ add_index "test_scores_lsat", ["test_id"], name: "index_test_scores_lsat_on_test_id", using: :btree
- create_table "test_scores_mat", :force => true do |t|
+ create_table "test_scores_mat", force: true do |t|
t.integer "test_id"
t.integer "percentile"
t.integer "percentile_major"
t.integer "score"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "applicant_id"
t.date "taken_on"
t.integer "status_id"
end
- add_index "test_scores_mat", ["applicant_id"], :name => "index_test_scores_mat_on_applicant_id"
- add_index "test_scores_mat", ["test_id"], :name => "index_test_scores_mat_on_test_id"
+ add_index "test_scores_mat", ["applicant_id"], name: "index_test_scores_mat_on_applicant_id", using: :btree
+ add_index "test_scores_mat", ["test_id"], name: "index_test_scores_mat_on_test_id", using: :btree
- create_table "test_scores_mcat", :force => true do |t|
+ create_table "test_scores_mcat", force: true do |t|
t.integer "test_id"
t.string "aamc_id_number"
t.integer "biological_sciences"
@@ -6249,8 +6254,8 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "test_series_number"
t.integer "verbal_reasoning"
t.string "writing_sample"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "verification_code"
t.integer "total_score"
t.date "taken_on"
@@ -6258,10 +6263,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "applicant_id"
end
- add_index "test_scores_mcat", ["applicant_id"], :name => "index_test_scores_mcat_on_applicant_id"
- add_index "test_scores_mcat", ["test_id"], :name => "index_test_scores_mcat_on_test_id"
+ add_index "test_scores_mcat", ["applicant_id"], name: "index_test_scores_mcat_on_applicant_id", using: :btree
+ add_index "test_scores_mcat", ["test_id"], name: "index_test_scores_mcat_on_test_id", using: :btree
- create_table "test_scores_mcat_after_jan_31_2015", :force => true do |t|
+ create_table "test_scores_mcat_after_jan_31_2015", force: true do |t|
t.string "aamc_id_number"
t.integer "test_id"
t.integer "analysis_and_reasoning"
@@ -6276,10 +6281,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "applicant_id"
end
- add_index "test_scores_mcat_after_jan_31_2015", ["applicant_id"], :name => "index_test_scores_mcat_after_jan_31_2015_on_applicant_id"
- add_index "test_scores_mcat_after_jan_31_2015", ["test_id"], :name => "index_test_scores_mcat_after_jan_31_2015_on_test_id"
+ add_index "test_scores_mcat_after_jan_31_2015", ["applicant_id"], name: "index_test_scores_mcat_after_jan_31_2015_on_applicant_id", using: :btree
+ add_index "test_scores_mcat_after_jan_31_2015", ["test_id"], name: "index_test_scores_mcat_after_jan_31_2015_on_test_id", using: :btree
- create_table "test_scores_mcat_official", :force => true do |t|
+ create_table "test_scores_mcat_official", force: true do |t|
t.integer "test_id"
t.string "aamc_id_number"
t.integer "biological_sciences"
@@ -6287,38 +6292,38 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "verbal_reasoning"
t.string "writing_sample"
t.integer "total_score"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "test_serial_number"
t.string "special_condition_code"
t.date "received_date"
t.integer "overall_result"
t.string "total"
- t.decimal "biological_sciences_low_percentile", :precision => 5, :scale => 1
- t.decimal "biological_sciences_high_percentile", :precision => 5, :scale => 1
- t.decimal "physical_sciences_low_percentile", :precision => 5, :scale => 1
- t.decimal "physical_sciences_high_percentile", :precision => 5, :scale => 1
- t.decimal "verbal_reasoning_low_percentile", :precision => 5, :scale => 1
- t.decimal "verbal_reasoning_high_percentile", :precision => 5, :scale => 1
- t.decimal "writing_sample_low_percentile", :precision => 5, :scale => 1
- t.decimal "writing_sample_high_percentile", :precision => 5, :scale => 1
- t.decimal "total_low_percentile", :precision => 5, :scale => 1
- t.decimal "total_high_percentile", :precision => 5, :scale => 1
+ t.decimal "biological_sciences_low_percentile", precision: 5, scale: 1
+ t.decimal "biological_sciences_high_percentile", precision: 5, scale: 1
+ t.decimal "physical_sciences_low_percentile", precision: 5, scale: 1
+ t.decimal "physical_sciences_high_percentile", precision: 5, scale: 1
+ t.decimal "verbal_reasoning_low_percentile", precision: 5, scale: 1
+ t.decimal "verbal_reasoning_high_percentile", precision: 5, scale: 1
+ t.decimal "writing_sample_low_percentile", precision: 5, scale: 1
+ t.decimal "writing_sample_high_percentile", precision: 5, scale: 1
+ t.decimal "total_low_percentile", precision: 5, scale: 1
+ t.decimal "total_high_percentile", precision: 5, scale: 1
t.date "received_on"
t.date "taken_on"
t.integer "applicant_id"
- t.decimal "verbal_reasoning_percentile", :precision => 5, :scale => 1
- t.decimal "physical_sciences_percentile", :precision => 5, :scale => 1
- t.decimal "biological_sciences_percentile", :precision => 5, :scale => 1
- t.decimal "writing_sample_percentile", :precision => 5, :scale => 1
- t.decimal "total_percentile", :precision => 5, :scale => 1
+ t.decimal "verbal_reasoning_percentile", precision: 5, scale: 1
+ t.decimal "physical_sciences_percentile", precision: 5, scale: 1
+ t.decimal "biological_sciences_percentile", precision: 5, scale: 1
+ t.decimal "writing_sample_percentile", precision: 5, scale: 1
+ t.decimal "total_percentile", precision: 5, scale: 1
end
- add_index "test_scores_mcat_official", ["applicant_id"], :name => "index_test_scores_mcat_official_on_applicant_id"
- add_index "test_scores_mcat_official", ["received_on"], :name => "index_test_scores_mcat_official_on_received_on"
- add_index "test_scores_mcat_official", ["test_id"], :name => "index_test_scores_mcat_official_on_test_id"
+ add_index "test_scores_mcat_official", ["applicant_id"], name: "index_test_scores_mcat_official_on_applicant_id", using: :btree
+ add_index "test_scores_mcat_official", ["received_on"], name: "index_test_scores_mcat_official_on_received_on", using: :btree
+ add_index "test_scores_mcat_official", ["test_id"], name: "index_test_scores_mcat_official_on_test_id", using: :btree
- create_table "test_scores_mcat_official_after_jan_31_2015", :force => true do |t|
+ create_table "test_scores_mcat_official_after_jan_31_2015", force: true do |t|
t.integer "aamc_id_number"
t.integer "test_id"
t.integer "chemical_and_physical"
@@ -6327,11 +6332,11 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "behavior"
t.integer "total"
t.integer "overall_result"
- t.decimal "chemical_and_physical_percentile", :precision => 5, :scale => 1
- t.decimal "analysis_and_reasoning_percentile", :precision => 5, :scale => 1
- t.decimal "biological_and_biochemical_percentile", :precision => 5, :scale => 1
- t.decimal "behavior_percentile", :precision => 5, :scale => 1
- t.decimal "total_percentile", :precision => 5, :scale => 1
+ t.decimal "chemical_and_physical_percentile", precision: 5, scale: 1
+ t.decimal "analysis_and_reasoning_percentile", precision: 5, scale: 1
+ t.decimal "biological_and_biochemical_percentile", precision: 5, scale: 1
+ t.decimal "behavior_percentile", precision: 5, scale: 1
+ t.decimal "total_percentile", precision: 5, scale: 1
t.integer "chemical_and_physical_low_band"
t.integer "chemical_and_physical_high_band"
t.integer "analysis_and_reasoning_low_band"
@@ -6352,10 +6357,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "score_status_id"
end
- add_index "test_scores_mcat_official_after_jan_31_2015", ["applicant_id"], :name => "idx_test_scores_mcat_official_after_jan_31_2015_on_applicant_id"
- add_index "test_scores_mcat_official_after_jan_31_2015", ["test_id"], :name => "index_test_scores_mcat_official_after_jan_31_2015_on_test_id"
+ add_index "test_scores_mcat_official_after_jan_31_2015", ["applicant_id"], name: "idx_test_scores_mcat_official_after_jan_31_2015_on_applicant_id", using: :btree
+ add_index "test_scores_mcat_official_after_jan_31_2015", ["test_id"], name: "index_test_scores_mcat_official_after_jan_31_2015_on_test_id", using: :btree
- create_table "test_scores_melab", :force => true do |t|
+ create_table "test_scores_melab", force: true do |t|
t.integer "test_id"
t.string "score"
t.datetime "created_at"
@@ -6365,37 +6370,37 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_melab", ["applicant_id"], :name => "index_test_scores_melab_on_applicant_id"
- add_index "test_scores_melab", ["test_id"], :name => "index_test_scores_melab_on_test_id"
+ add_index "test_scores_melab", ["applicant_id"], name: "index_test_scores_melab_on_applicant_id", using: :btree
+ add_index "test_scores_melab", ["test_id"], name: "index_test_scores_melab_on_test_id", using: :btree
- create_table "test_scores_nbde_1_2007", :force => true do |t|
+ create_table "test_scores_nbde_1_2007", force: true do |t|
t.integer "test_id"
t.integer "result_id"
t.integer "score"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "applicant_id"
t.date "taken_on"
end
- add_index "test_scores_nbde_1_2007", ["applicant_id"], :name => "index_test_scores_nbde_1_2007_on_applicant_id"
- add_index "test_scores_nbde_1_2007", ["result_id"], :name => "index_test_scores_nbde_1_2007_on_result_id"
- add_index "test_scores_nbde_1_2007", ["test_id"], :name => "index_test_scores_nbde_1_2007_on_test_id"
+ add_index "test_scores_nbde_1_2007", ["applicant_id"], name: "index_test_scores_nbde_1_2007_on_applicant_id", using: :btree
+ add_index "test_scores_nbde_1_2007", ["result_id"], name: "index_test_scores_nbde_1_2007_on_result_id", using: :btree
+ add_index "test_scores_nbde_1_2007", ["test_id"], name: "index_test_scores_nbde_1_2007_on_test_id", using: :btree
- create_table "test_scores_nbde_1_2012", :force => true do |t|
+ create_table "test_scores_nbde_1_2012", force: true do |t|
t.integer "test_id"
t.integer "result_id"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "applicant_id"
t.date "taken_on"
end
- add_index "test_scores_nbde_1_2012", ["applicant_id"], :name => "index_test_scores_nbde_1_2012_on_applicant_id"
- add_index "test_scores_nbde_1_2012", ["result_id"], :name => "index_test_scores_nbde_1_2012_on_result_id"
- add_index "test_scores_nbde_1_2012", ["test_id"], :name => "index_test_scores_nbde_1_2012_on_test_id"
+ add_index "test_scores_nbde_1_2012", ["applicant_id"], name: "index_test_scores_nbde_1_2012_on_applicant_id", using: :btree
+ add_index "test_scores_nbde_1_2012", ["result_id"], name: "index_test_scores_nbde_1_2012_on_result_id", using: :btree
+ add_index "test_scores_nbde_1_2012", ["test_id"], name: "index_test_scores_nbde_1_2012_on_test_id", using: :btree
- create_table "test_scores_nbde_1_pre2007", :force => true do |t|
+ create_table "test_scores_nbde_1_pre2007", force: true do |t|
t.integer "test_id"
t.integer "anatomical_science"
t.integer "biochemistry_physiology"
@@ -6403,73 +6408,73 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "microbiology_pathology"
t.string "reference_number"
t.integer "score"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "result_id"
t.integer "applicant_id"
t.date "taken_on"
end
- add_index "test_scores_nbde_1_pre2007", ["applicant_id"], :name => "index_test_scores_nbde_1_pre2007_on_applicant_id"
- add_index "test_scores_nbde_1_pre2007", ["result_id"], :name => "index_test_scores_nbde_1_pre2007_on_result_id"
- add_index "test_scores_nbde_1_pre2007", ["test_id"], :name => "index_test_scores_nbde_1_pre2007_on_test_id"
+ add_index "test_scores_nbde_1_pre2007", ["applicant_id"], name: "index_test_scores_nbde_1_pre2007_on_applicant_id", using: :btree
+ add_index "test_scores_nbde_1_pre2007", ["result_id"], name: "index_test_scores_nbde_1_pre2007_on_result_id", using: :btree
+ add_index "test_scores_nbde_1_pre2007", ["test_id"], name: "index_test_scores_nbde_1_pre2007_on_test_id", using: :btree
- create_table "test_scores_nbde_2_2012", :force => true do |t|
+ create_table "test_scores_nbde_2_2012", force: true do |t|
t.integer "test_id"
t.integer "result_id"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "applicant_id"
t.date "taken_on"
end
- add_index "test_scores_nbde_2_2012", ["applicant_id"], :name => "index_test_scores_nbde_2_2012_on_applicant_id"
- add_index "test_scores_nbde_2_2012", ["result_id"], :name => "index_test_scores_nbde_2_2012_on_result_id"
- add_index "test_scores_nbde_2_2012", ["test_id"], :name => "index_test_scores_nbde_2_2012_on_test_id"
+ add_index "test_scores_nbde_2_2012", ["applicant_id"], name: "index_test_scores_nbde_2_2012_on_applicant_id", using: :btree
+ add_index "test_scores_nbde_2_2012", ["result_id"], name: "index_test_scores_nbde_2_2012_on_result_id", using: :btree
+ add_index "test_scores_nbde_2_2012", ["test_id"], name: "index_test_scores_nbde_2_2012_on_test_id", using: :btree
- create_table "test_scores_nbde_2_pre2012", :force => true do |t|
+ create_table "test_scores_nbde_2_pre2012", force: true do |t|
t.integer "test_id"
t.integer "result_id"
t.integer "score"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "applicant_id"
t.date "taken_on"
end
- add_index "test_scores_nbde_2_pre2012", ["applicant_id"], :name => "index_test_scores_nbde_2_pre2012_on_applicant_id"
- add_index "test_scores_nbde_2_pre2012", ["result_id"], :name => "index_test_scores_nbde_2_pre2012_on_result_id"
- add_index "test_scores_nbde_2_pre2012", ["test_id"], :name => "index_test_scores_nbde_2_pre2012_on_test_id"
+ add_index "test_scores_nbde_2_pre2012", ["applicant_id"], name: "index_test_scores_nbde_2_pre2012_on_applicant_id", using: :btree
+ add_index "test_scores_nbde_2_pre2012", ["result_id"], name: "index_test_scores_nbde_2_pre2012_on_result_id", using: :btree
+ add_index "test_scores_nbde_2_pre2012", ["test_id"], name: "index_test_scores_nbde_2_pre2012_on_test_id", using: :btree
- create_table "test_scores_nbde_official_part_1", :force => true do |t|
+ create_table "test_scores_nbde_official_part_1", force: true do |t|
t.integer "applicant_id"
t.integer "test_id"
t.integer "attempt_number"
t.date "taken_on"
t.integer "result_id"
t.date "received_on"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "test_scores_nbde_official_part_1", ["applicant_id"], :name => "index_test_scores_nbde_official_part_1_on_applicant_id"
- add_index "test_scores_nbde_official_part_1", ["test_id"], :name => "index_test_scores_nbde_official_part_1_on_test_id"
+ add_index "test_scores_nbde_official_part_1", ["applicant_id"], name: "index_test_scores_nbde_official_part_1_on_applicant_id", using: :btree
+ add_index "test_scores_nbde_official_part_1", ["test_id"], name: "index_test_scores_nbde_official_part_1_on_test_id", using: :btree
- create_table "test_scores_nbde_official_part_2", :force => true do |t|
+ create_table "test_scores_nbde_official_part_2", force: true do |t|
t.integer "applicant_id"
t.integer "test_id"
t.integer "attempt_number"
t.date "taken_on"
t.integer "result_id"
t.date "received_on"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "test_scores_nbde_official_part_2", ["applicant_id"], :name => "index_test_scores_nbde_official_part_2_on_applicant_id"
- add_index "test_scores_nbde_official_part_2", ["test_id"], :name => "index_test_scores_nbde_official_part_2_on_test_id"
+ add_index "test_scores_nbde_official_part_2", ["applicant_id"], name: "index_test_scores_nbde_official_part_2_on_applicant_id", using: :btree
+ add_index "test_scores_nbde_official_part_2", ["test_id"], name: "index_test_scores_nbde_official_part_2_on_test_id", using: :btree
- create_table "test_scores_nelson_denny", :force => true do |t|
+ create_table "test_scores_nelson_denny", force: true do |t|
t.integer "test_id"
t.datetime "created_at"
t.datetime "updated_at"
@@ -6478,10 +6483,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_nelson_denny", ["applicant_id"], :name => "index_test_scores_nelson_denny_on_applicant_id"
- add_index "test_scores_nelson_denny", ["test_id"], :name => "index_test_scores_nelson_denny_on_test_id"
+ add_index "test_scores_nelson_denny", ["applicant_id"], name: "index_test_scores_nelson_denny_on_applicant_id", using: :btree
+ add_index "test_scores_nelson_denny", ["test_id"], name: "index_test_scores_nelson_denny_on_test_id", using: :btree
- create_table "test_scores_nln", :force => true do |t|
+ create_table "test_scores_nln", force: true do |t|
t.integer "test_id"
t.datetime "created_at"
t.datetime "updated_at"
@@ -6498,10 +6503,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_nln", ["applicant_id"], :name => "index_test_scores_nln_on_applicant_id"
- add_index "test_scores_nln", ["test_id"], :name => "index_test_scores_nln_on_test_id"
+ add_index "test_scores_nln", ["applicant_id"], name: "index_test_scores_nln_on_applicant_id", using: :btree
+ add_index "test_scores_nln", ["test_id"], name: "index_test_scores_nln_on_test_id", using: :btree
- create_table "test_scores_oat", :force => true do |t|
+ create_table "test_scores_oat", force: true do |t|
t.integer "test_id"
t.integer "quantitative_reasoning"
t.integer "reading_comprehension"
@@ -6518,10 +6523,10 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_oat", ["applicant_id"], :name => "index_test_scores_oat_on_applicant_id"
- add_index "test_scores_oat", ["test_id"], :name => "index_test_scores_oat_on_test_id"
+ add_index "test_scores_oat", ["applicant_id"], name: "index_test_scores_oat_on_applicant_id", using: :btree
+ add_index "test_scores_oat", ["test_id"], name: "index_test_scores_oat_on_test_id", using: :btree
- create_table "test_scores_oat_official", :force => true do |t|
+ create_table "test_scores_oat_official", force: true do |t|
t.integer "applicant_id"
t.integer "test_id"
t.date "taken_on"
@@ -6535,29 +6540,29 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "academic_average"
t.integer "total_science"
t.integer "status_id"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "test_scores_oat_official", ["applicant_id"], :name => "index_test_scores_oat_official_on_applicant_id"
- add_index "test_scores_oat_official", ["test_id"], :name => "index_test_scores_oat_official_on_test_id"
+ add_index "test_scores_oat_official", ["applicant_id"], name: "index_test_scores_oat_official_on_applicant_id", using: :btree
+ add_index "test_scores_oat_official", ["test_id"], name: "index_test_scores_oat_official_on_test_id", using: :btree
- create_table "test_scores_other", :force => true do |t|
+ create_table "test_scores_other", force: true do |t|
t.integer "test_id"
t.string "name"
t.string "score"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.string "section"
t.integer "applicant_id"
t.date "taken_on"
- t.decimal "result", :precision => 6, :scale => 2
+ t.decimal "result", precision: 6, scale: 2
end
- add_index "test_scores_other", ["applicant_id"], :name => "index_test_scores_other_on_applicant_id"
- add_index "test_scores_other", ["test_id"], :name => "index_test_scores_other_on_test_id"
+ add_index "test_scores_other", ["applicant_id"], name: "index_test_scores_other_on_applicant_id", using: :btree
+ add_index "test_scores_other", ["test_id"], name: "index_test_scores_other_on_test_id", using: :btree
- create_table "test_scores_pcat", :force => true do |t|
+ create_table "test_scores_pcat", force: true do |t|
t.integer "test_id"
t.integer "biology"
t.integer "biology_percentile"
@@ -6571,22 +6576,22 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "score_percentile"
t.integer "verbal"
t.integer "verbal_percentile"
- t.decimal "writing_language", :precision => 2, :scale => 1
- t.decimal "writing_language_mean", :precision => 3, :scale => 2
- t.decimal "writing_problem_solving", :precision => 2, :scale => 1
- t.decimal "writing_problem_solving_mean", :precision => 3, :scale => 2
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.decimal "writing_language", precision: 2, scale: 1
+ t.decimal "writing_language_mean", precision: 3, scale: 2
+ t.decimal "writing_problem_solving", precision: 2, scale: 1
+ t.decimal "writing_problem_solving_mean", precision: 3, scale: 2
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "applicant_id"
t.date "taken_on"
t.integer "status_id"
t.string "pcat_cid"
end
- add_index "test_scores_pcat", ["applicant_id"], :name => "index_test_scores_pcat_on_applicant_id"
- add_index "test_scores_pcat", ["test_id"], :name => "index_test_scores_pcat_on_test_id"
+ add_index "test_scores_pcat", ["applicant_id"], name: "index_test_scores_pcat_on_applicant_id", using: :btree
+ add_index "test_scores_pcat", ["test_id"], name: "index_test_scores_pcat_on_test_id", using: :btree
- create_table "test_scores_pcat_official", :force => true do |t|
+ create_table "test_scores_pcat_official", force: true do |t|
t.integer "test_id"
t.integer "biology"
t.integer "biology_percentile"
@@ -6600,22 +6605,22 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "score_percentile"
t.integer "verbal"
t.integer "verbal_percentile"
- t.decimal "writing_language", :precision => 2, :scale => 1
- t.decimal "writing_language_mean", :precision => 3, :scale => 2
- t.decimal "writing_problem_solving", :precision => 2, :scale => 1
- t.decimal "writing_problem_solving_mean", :precision => 3, :scale => 2
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.decimal "writing_language", precision: 2, scale: 1
+ t.decimal "writing_language_mean", precision: 3, scale: 2
+ t.decimal "writing_problem_solving", precision: 2, scale: 1
+ t.decimal "writing_problem_solving_mean", precision: 3, scale: 2
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "applicant_id"
t.date "taken_on"
t.date "received_on"
end
- add_index "test_scores_pcat_official", ["applicant_id"], :name => "index_test_scores_pcat_official_on_applicant_id"
- add_index "test_scores_pcat_official", ["test_id"], :name => "index_test_scores_pcat_official_on_test_id"
+ add_index "test_scores_pcat_official", ["applicant_id"], name: "index_test_scores_pcat_official_on_applicant_id", using: :btree
+ add_index "test_scores_pcat_official", ["test_id"], name: "index_test_scores_pcat_official_on_test_id", using: :btree
- create_table "test_scores_pte", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "test_scores_pte", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "test_id"
t.integer "status_id"
t.date "taken_on"
@@ -6631,15 +6636,15 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "vocabulary"
t.integer "written_disclosure"
t.string "registration_number"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "test_scores_pte", ["applicant_id"], :name => "index_test_scores_pte_on_applicant_id"
- add_index "test_scores_pte", ["test_id"], :name => "index_test_scores_pte_on_test_id"
+ add_index "test_scores_pte", ["applicant_id"], name: "index_test_scores_pte_on_applicant_id", using: :btree
+ add_index "test_scores_pte", ["test_id"], name: "index_test_scores_pte_on_test_id", using: :btree
- create_table "test_scores_pte_official", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "test_scores_pte_official", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "test_id"
t.date "taken_on"
t.date "received_on"
@@ -6655,20 +6660,20 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "spelling"
t.integer "vocabulary"
t.integer "written_disclosure"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "test_scores_pte_official", ["applicant_id"], :name => "index_test_scores_pte_official_on_applicant_id"
- add_index "test_scores_pte_official", ["test_id"], :name => "index_test_scores_pte_official_on_test_id"
+ add_index "test_scores_pte_official", ["applicant_id"], name: "index_test_scores_pte_official_on_applicant_id", using: :btree
+ add_index "test_scores_pte_official", ["test_id"], name: "index_test_scores_pte_official_on_test_id", using: :btree
- create_table "test_scores_sat", :force => true do |t|
+ create_table "test_scores_sat", force: true do |t|
t.integer "test_id"
t.integer "mathematics"
t.integer "reading"
t.integer "writing"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "science"
t.integer "applicant_id"
t.date "taken_on"
@@ -6676,13 +6681,13 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "college_board_id"
end
- add_index "test_scores_sat", ["applicant_id"], :name => "index_test_scores_sat_on_applicant_id"
- add_index "test_scores_sat", ["test_id"], :name => "index_test_scores_sat_on_test_id"
+ add_index "test_scores_sat", ["applicant_id"], name: "index_test_scores_sat_on_applicant_id", using: :btree
+ add_index "test_scores_sat", ["test_id"], name: "index_test_scores_sat_on_test_id", using: :btree
- create_table "test_scores_sat_after_march_2016", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "test_scores_sat_after_march_2016", force: true do |t|
+ t.integer "applicant_id", null: false
t.string "college_board_id"
- t.integer "test_id", :null => false
+ t.integer "test_id", null: false
t.integer "status_id"
t.integer "reading_and_writing"
t.integer "essay_writing"
@@ -6691,15 +6696,15 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "math"
t.integer "total"
t.date "taken_on"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "test_scores_sat_after_march_2016", ["applicant_id"], :name => "index_test_scores_sat_after_march_2016_on_applicant_id"
- add_index "test_scores_sat_after_march_2016", ["test_id"], :name => "index_test_scores_sat_after_march_2016_on_test_id"
+ add_index "test_scores_sat_after_march_2016", ["applicant_id"], name: "index_test_scores_sat_after_march_2016_on_applicant_id", using: :btree
+ add_index "test_scores_sat_after_march_2016", ["test_id"], name: "index_test_scores_sat_after_march_2016_on_test_id", using: :btree
- create_table "test_scores_sat_official_after_march_2016", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "test_scores_sat_official_after_march_2016", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "test_id"
t.date "taken_on"
t.date "received_date"
@@ -6709,7 +6714,7 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "math_section"
t.integer "reading"
t.integer "writing_language"
- t.decimal "mathematics", :precision => 3, :scale => 1
+ t.decimal "mathematics", precision: 3, scale: 1
t.integer "science"
t.integer "history_social_studies"
t.integer "words_context"
@@ -6722,15 +6727,15 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "reading_essay"
t.integer "analysis_essay"
t.integer "writing_essay"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "test_scores_sat_official_after_march_2016", ["applicant_id"], :name => "idx_test_scores_sat_official_after_march_2016_on_applicant_id"
- add_index "test_scores_sat_official_after_march_2016", ["test_id"], :name => "index_test_scores_sat_official_after_march_2016_on_test_id"
+ add_index "test_scores_sat_official_after_march_2016", ["applicant_id"], name: "idx_test_scores_sat_official_after_march_2016_on_applicant_id", using: :btree
+ add_index "test_scores_sat_official_after_march_2016", ["test_id"], name: "index_test_scores_sat_official_after_march_2016_on_test_id", using: :btree
- create_table "test_scores_sat_official_before_march_2016", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "test_scores_sat_official_before_march_2016", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "test_id"
t.date "taken_on"
t.string "student_id"
@@ -6741,15 +6746,15 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "writing"
t.integer "writing_multiple_choice"
t.integer "writing_essay"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "test_scores_sat_official_before_march_2016", ["applicant_id"], :name => "idx_test_scores_sat_official_before_march_2016_on_applicant_id"
- add_index "test_scores_sat_official_before_march_2016", ["test_id"], :name => "index_test_scores_sat_official_before_march_2016_on_test_id"
+ add_index "test_scores_sat_official_before_march_2016", ["applicant_id"], name: "idx_test_scores_sat_official_before_march_2016_on_applicant_id", using: :btree
+ add_index "test_scores_sat_official_before_march_2016", ["test_id"], name: "index_test_scores_sat_official_before_march_2016_on_test_id", using: :btree
- create_table "test_scores_sbsa_official", :force => true do |t|
- t.integer "applicant_id", :null => false
+ create_table "test_scores_sbsa_official", force: true do |t|
+ t.integer "applicant_id", null: false
t.integer "test_id"
t.date "received_on"
t.date "taken_on"
@@ -6759,20 +6764,20 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "ela_status_level"
t.integer "ela_score"
t.integer "ela_percentile"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- add_index "test_scores_sbsa_official", ["applicant_id"], :name => "index_test_scores_sbsa_official_on_applicant_id"
- add_index "test_scores_sbsa_official", ["test_id"], :name => "index_test_scores_sbsa_official_on_test_id"
+ add_index "test_scores_sbsa_official", ["applicant_id"], name: "index_test_scores_sbsa_official_on_applicant_id", using: :btree
+ add_index "test_scores_sbsa_official", ["test_id"], name: "index_test_scores_sbsa_official_on_test_id", using: :btree
- create_table "test_scores_teas", :force => true do |t|
+ create_table "test_scores_teas", force: true do |t|
t.integer "test_id"
- t.decimal "english_language", :precision => 5, :scale => 1
- t.decimal "math", :precision => 5, :scale => 1
- t.decimal "reading", :precision => 5, :scale => 1
- t.decimal "science", :precision => 5, :scale => 1
- t.decimal "total", :precision => 5, :scale => 1
+ t.decimal "english_language", precision: 5, scale: 1
+ t.decimal "math", precision: 5, scale: 1
+ t.decimal "reading", precision: 5, scale: 1
+ t.decimal "science", precision: 5, scale: 1
+ t.decimal "total", precision: 5, scale: 1
t.datetime "created_at"
t.datetime "updated_at"
t.integer "applicant_id"
@@ -6780,12 +6785,12 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "status_id"
end
- add_index "test_scores_teas", ["applicant_id"], :name => "index_test_scores_teas_on_applicant_id"
- add_index "test_scores_teas", ["test_id"], :name => "index_test_scores_teas_on_test_id"
+ add_index "test_scores_teas", ["applicant_id"], name: "index_test_scores_teas_on_applicant_id", using: :btree
+ add_index "test_scores_teas", ["test_id"], name: "index_test_scores_teas_on_test_id", using: :btree
- create_table "test_scores_toefl", :force => true do |t|
+ create_table "test_scores_toefl", force: true do |t|
t.integer "test_id"
- t.decimal "essay", :precision => 4, :scale => 1
+ t.decimal "essay", precision: 4, scale: 1
t.integer "listening"
t.integer "listening_ibt"
t.boolean "listening_taken"
@@ -6796,23 +6801,23 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "speaking_ibt"
t.boolean "speaking_taken"
t.integer "type_id"
- t.decimal "writing", :precision => 4, :scale => 1
+ t.decimal "writing", precision: 4, scale: 1
t.integer "writing_ibt"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.date "taken_on"
t.integer "status_id"
t.string "registration_number"
t.integer "applicant_id"
end
- add_index "test_scores_toefl", ["applicant_id"], :name => "index_test_scores_toefl_on_applicant_id"
- add_index "test_scores_toefl", ["test_id"], :name => "index_test_scores_toefl_on_test_id"
- add_index "test_scores_toefl", ["type_id"], :name => "index_test_scores_toefl_on_type_id"
+ add_index "test_scores_toefl", ["applicant_id"], name: "index_test_scores_toefl_on_applicant_id", using: :btree
+ add_index "test_scores_toefl", ["test_id"], name: "index_test_scores_toefl_on_test_id", using: :btree
+ add_index "test_scores_toefl", ["type_id"], name: "index_test_scores_toefl_on_type_id", using: :btree
- create_table "test_scores_toefl_official", :force => true do |t|
+ create_table "test_scores_toefl_official", force: true do |t|
t.integer "test_id"
- t.decimal "essay", :precision => 4, :scale => 1
+ t.decimal "essay", precision: 4, scale: 1
t.integer "listening"
t.integer "listening_ibt"
t.integer "reading"
@@ -6823,36 +6828,36 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.integer "type_id"
t.integer "writing"
t.integer "writing_ibt"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.integer "applicant_id"
t.date "taken_on"
t.date "received_on"
end
- add_index "test_scores_toefl_official", ["applicant_id"], :name => "index_test_scores_toefl_official_on_applicant_id"
- add_index "test_scores_toefl_official", ["test_id"], :name => "index_test_scores_toefl_official_on_test_id"
- add_index "test_scores_toefl_official", ["type_id"], :name => "index_test_scores_toefl_official_on_type_id"
+ add_index "test_scores_toefl_official", ["applicant_id"], name: "index_test_scores_toefl_official_on_applicant_id", using: :btree
+ add_index "test_scores_toefl_official", ["test_id"], name: "index_test_scores_toefl_official_on_test_id", using: :btree
+ add_index "test_scores_toefl_official", ["type_id"], name: "index_test_scores_toefl_official_on_type_id", using: :btree
- create_table "tests", :force => true do |t|
- t.string "type", :null => false
- t.string "identifier", :null => false
- t.integer "applicant_id", :null => false
+ create_table "tests", force: true do |t|
+ t.string "type", null: false
+ t.string "identifier", null: false
+ t.integer "applicant_id", null: false
t.date "date"
t.integer "status_id"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.date "official_received_date"
t.date "future_date"
t.string "registration_number"
end
- add_index "tests", ["applicant_id"], :name => "index_tests_on_applicant_id"
- add_index "tests", ["identifier"], :name => "index_tests_on_identifier"
- add_index "tests", ["status_id"], :name => "index_tests_on_status_id"
- add_index "tests", ["type"], :name => "index_tests_on_type"
+ add_index "tests", ["applicant_id"], name: "index_tests_on_applicant_id", using: :btree
+ add_index "tests", ["identifier"], name: "index_tests_on_identifier", using: :btree
+ add_index "tests", ["status_id"], name: "index_tests_on_status_id", using: :btree
+ add_index "tests", ["type"], name: "index_tests_on_type", using: :btree
- create_table "trainings", :force => true do |t|
+ create_table "trainings", force: true do |t|
t.integer "applicant_id"
t.boolean "certification_received"
t.date "end_date"
@@ -6862,13 +6867,13 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "training_type"
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "most_important", :default => false
+ t.boolean "most_important", default: false
end
- add_index "trainings", ["applicant_id"], :name => "index_trainings_on_applicant_id"
- add_index "trainings", ["identifier"], :name => "index_trainings_on_identifier"
+ add_index "trainings", ["applicant_id"], name: "index_trainings_on_applicant_id", using: :btree
+ add_index "trainings", ["identifier"], name: "index_trainings_on_identifier", using: :btree
- create_table "transcripts", :force => true do |t|
+ create_table "transcripts", force: true do |t|
t.integer "identifier"
t.string "barcode"
t.date "date_received"
@@ -6884,110 +6889,110 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "file_name"
t.integer "college_attended_id"
t.integer "secondary_school_id"
- t.boolean "foreign_transcript", :default => false
+ t.boolean "foreign_transcript", default: false
end
- add_index "transcripts", ["applicant_id"], :name => "index_transcripts_on_applicant_id"
- add_index "transcripts", ["association_id", "identifier"], :name => "index_transcripts_on_association_id_and_identifier"
- add_index "transcripts", ["association_id"], :name => "index_transcripts_on_association_id"
- add_index "transcripts", ["college_attended_id"], :name => "index_transcripts_on_college_attended_id"
- add_index "transcripts", ["college_id"], :name => "index_transcripts_on_college_id"
- add_index "transcripts", ["identifier"], :name => "index_transcripts_on_identifier"
+ add_index "transcripts", ["applicant_id"], name: "index_transcripts_on_applicant_id", using: :btree
+ add_index "transcripts", ["association_id", "identifier"], name: "index_transcripts_on_association_id_and_identifier", using: :btree
+ add_index "transcripts", ["association_id"], name: "index_transcripts_on_association_id", using: :btree
+ add_index "transcripts", ["college_attended_id"], name: "index_transcripts_on_college_attended_id", using: :btree
+ add_index "transcripts", ["college_id"], name: "index_transcripts_on_college_id", using: :btree
+ add_index "transcripts", ["identifier"], name: "index_transcripts_on_identifier", using: :btree
- create_table "transformations", :force => true do |t|
+ create_table "transformations", force: true do |t|
t.string "name"
t.integer "field_type_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "unicas_reference_data", :force => true do |t|
- t.string "identifier", :null => false
+ create_table "unicas_reference_data", force: true do |t|
+ t.string "identifier", null: false
t.string "abbreviation"
- t.string "name", :null => false
+ t.string "name", null: false
t.integer "sort_order"
- t.string "set_id", :null => false
+ t.string "set_id", null: false
t.string "iso_2_code"
t.string "iso_3_code"
- t.integer "reference_data_set_id", :null => false
- t.string "lookup_status", :null => false
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.integer "reference_data_set_id", null: false
+ t.string "lookup_status", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- create_table "unicas_reference_data_sets", :force => true do |t|
- t.string "set_id", :null => false
- t.string "name", :null => false
- t.string "webadmit_class_name", :null => false
+ create_table "unicas_reference_data_sets", force: true do |t|
+ t.string "set_id", null: false
+ t.string "name", null: false
+ t.string "webadmit_class_name", null: false
t.string "loader_class_name"
- t.string "lookup_status", :null => false
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.string "lookup_status", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
end
- create_table "user_identities", :force => true do |t|
+ create_table "user_identities", force: true do |t|
t.integer "user_id"
t.string "type"
t.text "ui_state"
t.integer "clipboard_id"
- t.boolean "active", :default => true, :null => false
+ t.boolean "active", default: true, null: false
t.datetime "updated_at"
t.datetime "created_at"
t.string "admin_note"
t.boolean "new_ui_on"
end
- add_index "user_identities", ["active"], :name => "index_user_identities_on_active"
- add_index "user_identities", ["user_id"], :name => "index_user_identities_on_user_id"
+ add_index "user_identities", ["active"], name: "index_user_identities_on_active", using: :btree
+ add_index "user_identities", ["user_id"], name: "index_user_identities_on_user_id", using: :btree
- create_table "user_identity_cases", :force => true do |t|
+ create_table "user_identity_cases", force: true do |t|
t.integer "user_identity_id"
t.integer "association_id"
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "user_identity_cases", ["association_id"], :name => "index_user_identity_cases_on_association_id"
- add_index "user_identity_cases", ["user_identity_id", "association_id"], :name => "index_user_identity_cases_on_user_identity_id_and_assoc_id"
+ add_index "user_identity_cases", ["association_id"], name: "index_user_identity_cases_on_association_id", using: :btree
+ add_index "user_identity_cases", ["user_identity_id", "association_id"], name: "index_user_identity_cases_on_user_identity_id_and_assoc_id", using: :btree
- create_table "user_identity_colleges", :force => true do |t|
- t.integer "user_identity_id", :null => false
- t.integer "college_base_id", :null => false
+ create_table "user_identity_colleges", force: true do |t|
+ t.integer "user_identity_id", null: false
+ t.integer "college_base_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
- create_table "user_identity_institutions", :force => true do |t|
+ create_table "user_identity_institutions", force: true do |t|
t.integer "user_identity_id"
t.integer "institution_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "user_identity_institutions", ["institution_id"], :name => "index_user_identity_institutions_on_institution_id"
- add_index "user_identity_institutions", ["user_identity_id"], :name => "index_user_identity_institutions_on_user_identity_id"
+ add_index "user_identity_institutions", ["institution_id"], name: "index_user_identity_institutions_on_institution_id", using: :btree
+ add_index "user_identity_institutions", ["user_identity_id"], name: "index_user_identity_institutions_on_user_identity_id", using: :btree
- create_table "user_identity_organizations", :force => true do |t|
+ create_table "user_identity_organizations", force: true do |t|
t.integer "user_identity_id"
t.integer "organization_id"
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "user_identity_organizations", ["organization_id"], :name => "index_user_identity_organizations_on_organization_id"
- add_index "user_identity_organizations", ["user_identity_id", "organization_id"], :name => "index_user_identity_organization_on_user_identity_id_and_org_id"
+ add_index "user_identity_organizations", ["organization_id"], name: "index_user_identity_organizations_on_organization_id", using: :btree
+ add_index "user_identity_organizations", ["user_identity_id", "organization_id"], name: "index_user_identity_organization_on_user_identity_id_and_org_id", using: :btree
- create_table "user_identity_programs", :force => true do |t|
+ create_table "user_identity_programs", force: true do |t|
t.integer "user_identity_id"
t.integer "program_id"
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "user_identity_programs", ["program_id"], :name => "index_user_identity_programs_on_program_id"
- add_index "user_identity_programs", ["user_identity_id", "program_id"], :name => "index_user_identity_programs_on_user_identity_id_and_program_id"
+ add_index "user_identity_programs", ["program_id"], name: "index_user_identity_programs_on_program_id", using: :btree
+ add_index "user_identity_programs", ["user_identity_id", "program_id"], name: "index_user_identity_programs_on_user_identity_id_and_program_id", using: :btree
- create_table "user_identity_roles", :force => true do |t|
+ create_table "user_identity_roles", force: true do |t|
t.integer "role_id"
t.integer "user_identity_id"
t.datetime "updated_at"
@@ -6995,47 +7000,47 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "type"
end
- add_index "user_identity_roles", ["user_identity_id"], :name => "index_user_identity_roles_on_user_identity_id"
+ add_index "user_identity_roles", ["user_identity_id"], name: "index_user_identity_roles_on_user_identity_id", using: :btree
- create_table "user_roles", :force => true do |t|
+ create_table "user_roles", force: true do |t|
t.integer "user_id"
t.integer "role_id"
t.datetime "updated_at"
t.datetime "created_at"
end
- add_index "user_roles", ["role_id"], :name => "index_user_roles_on_role_id"
- add_index "user_roles", ["user_id"], :name => "index_user_roles_on_user_id"
+ add_index "user_roles", ["role_id"], name: "index_user_roles_on_role_id", using: :btree
+ add_index "user_roles", ["user_id"], name: "index_user_roles_on_user_id", using: :btree
- create_table "users", :force => true do |t|
+ create_table "users", force: true do |t|
t.integer "association_id"
t.integer "organization_id"
t.string "username"
t.datetime "created_at"
t.datetime "updated_at"
- t.string "email", :null => false
- t.string "crypted_password", :null => false
- t.string "password_salt", :null => false
- t.string "persistence_token", :null => false
- t.string "single_access_token", :null => false
- t.string "perishable_token", :null => false
- t.integer "login_count", :default => 0, :null => false
- t.integer "failed_login_count", :default => 0, :null => false
+ t.string "email", null: false
+ t.string "crypted_password", null: false
+ t.string "password_salt", null: false
+ t.string "persistence_token", null: false
+ t.string "single_access_token", null: false
+ t.string "perishable_token", null: false
+ t.integer "login_count", default: 0, null: false
+ t.integer "failed_login_count", default: 0, null: false
t.datetime "current_login_at"
t.datetime "last_login_at"
t.string "current_login_ip"
t.string "last_login_ip"
- t.string "first_name", :default => ""
- t.string "last_name", :default => ""
- t.string "phone_number", :limit => 18
+ t.string "first_name", default: ""
+ t.string "last_name", default: ""
+ t.string "phone_number", limit: 18
t.text "ui_state"
- t.boolean "system_user", :default => false
+ t.boolean "system_user", default: false
t.integer "clipboard_id"
t.integer "last_splash_id"
t.string "extension"
t.string "type"
- t.boolean "is_active", :default => true, :null => false
- t.boolean "primary", :default => false
+ t.boolean "is_active", default: true, null: false
+ t.boolean "primary", default: false
t.integer "last_user_identity_id"
t.string "position"
t.boolean "hide_cycle_switcher_hint"
@@ -7043,14 +7048,14 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.datetime "password_updated_at"
end
- add_index "users", ["association_id"], :name => "index_users_on_association_id"
- add_index "users", ["clipboard_id"], :name => "index_users_on_clipboard_id"
- add_index "users", ["email"], :name => "index_users_on_email"
- add_index "users", ["last_splash_id"], :name => "index_users_on_last_splash_id"
- add_index "users", ["organization_id"], :name => "index_users_on_organization_id"
- add_index "users", ["type"], :name => "index_users_on_type"
+ add_index "users", ["association_id"], name: "index_users_on_association_id", using: :btree
+ add_index "users", ["clipboard_id"], name: "index_users_on_clipboard_id", using: :btree
+ add_index "users", ["email"], name: "index_users_on_email", using: :btree
+ add_index "users", ["last_splash_id"], name: "index_users_on_last_splash_id", using: :btree
+ add_index "users", ["organization_id"], name: "index_users_on_organization_id", using: :btree
+ add_index "users", ["type"], name: "index_users_on_type", using: :btree
- create_table "view_report_files", :force => true do |t|
+ create_table "view_report_files", force: true do |t|
t.string "view_report_key"
t.integer "user_identity_id"
t.string "aasm_state"
@@ -7061,9 +7066,9 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "report_name"
end
- add_index "view_report_files", ["view_report_key", "user_identity_id"], :name => "index_view_report_files_on_view_report_key_and_user_identity_id", :unique => true
+ add_index "view_report_files", ["view_report_key", "user_identity_id"], name: "index_view_report_files_on_view_report_key_and_user_identity_id", unique: true, using: :btree
- create_table "visa_types", :force => true do |t|
+ create_table "visa_types", force: true do |t|
t.integer "association_id"
t.string "identifier"
t.string "name"
@@ -7073,55 +7078,55 @@ ActiveRecord::Schema.define(:version => 20180924201540) do
t.string "abbreviation"
end
- add_index "visa_types", ["association_id", "identifier"], :name => "index_visa_types_on_association_id_and_identifier"
- add_index "visa_types", ["association_id"], :name => "index_visa_types_on_association_id"
- add_index "visa_types", ["identifier"], :name => "index_visa_types_on_identifier"
- add_index "visa_types", ["type"], :name => "index_visa_types_on_type"
+ add_index "visa_types", ["association_id", "identifier"], name: "index_visa_types_on_association_id_and_identifier", using: :btree
+ add_index "visa_types", ["association_id"], name: "index_visa_types_on_association_id", using: :btree
+ add_index "visa_types", ["identifier"], name: "index_visa_types_on_identifier", using: :btree
+ add_index "visa_types", ["type"], name: "index_visa_types_on_type", using: :btree
- create_table "webhook_notification_responses", :force => true do |t|
+ create_table "webhook_notification_responses", force: true do |t|
t.text "webhook_notification_ids"
t.text "response"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.text "request"
end
- create_table "webhook_notifications", :force => true do |t|
- t.integer "event_id", :null => false
+ create_table "webhook_notifications", force: true do |t|
+ t.integer "event_id", null: false
t.string "status"
t.string "type"
- t.text "data", :null => false
- t.integer "applicant_id", :null => false
- t.integer "association_id", :null => false
+ t.text "data", null: false
+ t.integer "applicant_id", null: false
+ t.integer "association_id", null: false
t.integer "retry_attempts"
t.datetime "last_retry_at"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
- t.datetime "event_happened_at", :null => false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.datetime "event_happened_at", null: false
end
- create_table "wes_gpas", :force => true do |t|
+ create_table "wes_gpas", force: true do |t|
t.integer "applicant_id"
t.string "identifier"
t.string "type"
- t.decimal "gpa", :precision => 5, :scale => 2
+ t.decimal "gpa", precision: 5, scale: 2
t.datetime "created_at"
t.datetime "updated_at"
- t.decimal "hours", :precision => 5, :scale => 1
+ t.decimal "hours", precision: 5, scale: 1
end
- add_index "wes_gpas", ["applicant_id"], :name => "index_wes_gpas_on_applicant_id"
- add_index "wes_gpas", ["identifier"], :name => "index_wes_gpas_on_identifier"
- add_index "wes_gpas", ["type"], :name => "index_wes_gpas_on_type"
+ add_index "wes_gpas", ["applicant_id"], name: "index_wes_gpas_on_applicant_id", using: :btree
+ add_index "wes_gpas", ["identifier"], name: "index_wes_gpas_on_identifier", using: :btree
+ add_index "wes_gpas", ["type"], name: "index_wes_gpas_on_type", using: :btree
- create_table "work_group_reports", :force => true do |t|
+ create_table "work_group_reports", force: true do |t|
t.integer "work_group_id"
t.string "report_identifier"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "work_group_reports", ["work_group_id", "report_identifier"], :name => "index_work_group_reports_on_work_group_id_and_report_identifier", :unique => true
+ add_index "work_group_reports", ["work_group_id", "report_identifier"], name: "index_work_group_reports_on_work_group_id_and_report_identifier", unique: true, using: :btree
add_foreign_key "about_mes", "applicants", name: "about_mes_applicant_id_fk", dependent: :delete
add_foreign_key "about_mes", "lookups", name: "about_mes_csu_recent_college_id_fk", column: "csu_recent_college_id"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment