Employers working - onboarding to card print
This commit is contained in:
+122
-31
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.2].define(version: 2025_12_09_182135) do
|
||||
ActiveRecord::Schema[7.2].define(version: 2026_01_14_183848) do
|
||||
create_table "action_text_rich_texts", force: :cascade do |t|
|
||||
t.string "name", null: false
|
||||
t.text "body"
|
||||
@@ -49,41 +49,112 @@ ActiveRecord::Schema[7.2].define(version: 2025_12_09_182135) do
|
||||
t.index ["blob_id", "variation_digest"], name: "index_active_storage_variant_records_uniqueness", unique: true
|
||||
end
|
||||
|
||||
create_table "alternative_network_logos", force: :cascade do |t|
|
||||
t.string "network_logo"
|
||||
create_table "alternate_network_logos", force: :cascade do |t|
|
||||
t.string "network_logo_filename"
|
||||
t.string "exception_type"
|
||||
t.string "exception_value"
|
||||
t.bigint "employer_setup_process_id", null: false
|
||||
t.bigint "employer_id", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["employer_setup_process_id"], name: "index_alternative_network_logos_on_employer_setup_process_id"
|
||||
t.index ["employer_id"], name: "index_alternate_network_logos_on_employer_id"
|
||||
end
|
||||
|
||||
create_table "card_logo_files", force: :cascade do |t|
|
||||
t.string "filename"
|
||||
t.binary "image_data"
|
||||
t.string "content_type"
|
||||
t.string "logo_type"
|
||||
t.binary "image"
|
||||
t.integer "pl_plan_key"
|
||||
t.boolean "active", default: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.bigint "employer_setup_process_id", null: false
|
||||
t.index ["employer_setup_process_id"], name: "index_card_logo_files_on_employer_setup_process_id"
|
||||
end
|
||||
|
||||
create_table "employer_setup_processes", force: :cascade do |t|
|
||||
t.string "employer_name"
|
||||
create_table "card_providers", force: :cascade do |t|
|
||||
t.string "provider_code"
|
||||
t.string "provider_line_1"
|
||||
t.string "provider_line_2"
|
||||
t.string "provider_line_3"
|
||||
t.string "provider_line_4"
|
||||
t.string "provider_line_5"
|
||||
t.string "provider_line_6"
|
||||
t.string "provider_line_7"
|
||||
t.string "provider_line_8"
|
||||
t.string "provider_line_9"
|
||||
t.string "provider_line_10"
|
||||
t.string "provider_line_11"
|
||||
t.string "provider_line_12"
|
||||
t.string "claim_to_1"
|
||||
t.string "claim_to_2"
|
||||
t.string "claim_to_3"
|
||||
t.string "claim_to_4"
|
||||
t.string "claim_to_5"
|
||||
t.string "claim_to_6"
|
||||
t.string "claim_to_7"
|
||||
t.string "claim_to_8"
|
||||
t.string "claim_to_9"
|
||||
t.string "claim_to_10"
|
||||
t.string "claim_to_11"
|
||||
t.string "claim_to_12"
|
||||
t.string "mail_to"
|
||||
t.string "mail_to_2"
|
||||
t.string "contact_line_1"
|
||||
t.string "contact_line_2"
|
||||
t.string "contact_line_3"
|
||||
t.string "group_number"
|
||||
t.string "effective_date"
|
||||
t.string "employer_logo"
|
||||
t.string "form_method"
|
||||
t.string "status"
|
||||
t.string "current_step"
|
||||
t.string "rx_group_id"
|
||||
t.string "rx_contact"
|
||||
t.string "provider_lookup_1"
|
||||
t.string "provider_lookup_2"
|
||||
t.string "precert_1"
|
||||
t.string "precert_2"
|
||||
t.string "precert_3"
|
||||
t.string "precert_4"
|
||||
t.string "precert_5"
|
||||
t.string "precert_6"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "network_provider"
|
||||
t.string "network_logo"
|
||||
t.string "card_template"
|
||||
end
|
||||
|
||||
create_table "card_rxes", force: :cascade do |t|
|
||||
t.string "help_desk"
|
||||
t.string "customer_service"
|
||||
t.string "web_url"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
create_table "employer_card_logos", force: :cascade do |t|
|
||||
t.bigint "employer_id", null: false
|
||||
t.bigint "card_logo_file_id", null: false
|
||||
t.string "logo_type"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["card_logo_file_id"], name: "index_employer_card_logos_on_card_logo_file_id"
|
||||
t.index ["employer_id"], name: "index_employer_card_logos_on_employer_id"
|
||||
end
|
||||
|
||||
create_table "employers", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.string "id_card_display_name"
|
||||
t.string "slug"
|
||||
t.string "pl_plan_key"
|
||||
t.integer "company_pb_entity_key"
|
||||
t.integer "plan_id"
|
||||
t.string "group_number"
|
||||
t.string "rx_group_number"
|
||||
t.string "effective_date"
|
||||
t.string "employer_logo_filename"
|
||||
t.string "network_provider"
|
||||
t.string "default_network_logo"
|
||||
t.string "single_card_template"
|
||||
t.string "multiple_card_template"
|
||||
t.boolean "active", default: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.bigint "card_provider_id"
|
||||
t.bigint "card_rx_id"
|
||||
t.index ["card_provider_id"], name: "index_employers_on_card_provider_id"
|
||||
t.index ["card_rx_id"], name: "index_employers_on_card_rx_id"
|
||||
end
|
||||
|
||||
create_table "id_card_benefits", force: :cascade do |t|
|
||||
@@ -102,6 +173,21 @@ ActiveRecord::Schema[7.2].define(version: 2025_12_09_182135) do
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
create_table "members", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.string "id_card_display_name"
|
||||
t.string "family_id"
|
||||
t.integer "mb_member_key"
|
||||
t.integer "pb_entity_key"
|
||||
t.integer "pl_plan_key"
|
||||
t.bigint "employer_id"
|
||||
t.bigint "plan_id"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["employer_id"], name: "index_members_on_employer_id"
|
||||
t.index ["plan_id"], name: "index_members_on_plan_id"
|
||||
end
|
||||
|
||||
create_table "plan_benefits", force: :cascade do |t|
|
||||
t.string "benefit_desc"
|
||||
t.string "benefit"
|
||||
@@ -114,22 +200,20 @@ ActiveRecord::Schema[7.2].define(version: 2025_12_09_182135) do
|
||||
|
||||
create_table "plans", force: :cascade do |t|
|
||||
t.string "title"
|
||||
t.bigint "employer_setup_process_id", null: false
|
||||
t.integer "pb_product_key"
|
||||
t.bigint "employer_id", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "plan_id"
|
||||
t.index ["employer_setup_process_id"], name: "index_plans_on_employer_setup_process_id"
|
||||
t.index ["employer_id"], name: "index_plans_on_employer_id"
|
||||
end
|
||||
|
||||
create_table "sample_id_cards", force: :cascade do |t|
|
||||
t.string "full_name"
|
||||
t.string "family_id"
|
||||
t.string "network_image"
|
||||
t.integer "pl_plan_key"
|
||||
t.integer "primary_mb_member_key"
|
||||
t.string "primary_mb_member_key"
|
||||
t.string "employer_name"
|
||||
t.string "group_number"
|
||||
t.string "rx_group"
|
||||
t.string "employer_name"
|
||||
t.string "full_name"
|
||||
t.string "medical_eff_date"
|
||||
t.string "provider_code"
|
||||
t.string "provider_line_1"
|
||||
@@ -143,7 +227,7 @@ ActiveRecord::Schema[7.2].define(version: 2025_12_09_182135) do
|
||||
t.string "provider_line_9"
|
||||
t.string "provider_line_10"
|
||||
t.string "provider_line_11"
|
||||
t.string "mail_to"
|
||||
t.string "provider_line_12"
|
||||
t.string "claim_to_1"
|
||||
t.string "claim_to_2"
|
||||
t.string "claim_to_3"
|
||||
@@ -155,6 +239,7 @@ ActiveRecord::Schema[7.2].define(version: 2025_12_09_182135) do
|
||||
t.string "claim_to_9"
|
||||
t.string "claim_to_10"
|
||||
t.string "claim_to_11"
|
||||
t.string "claim_to_12"
|
||||
t.string "customer_service"
|
||||
t.string "web_url"
|
||||
t.string "dependent_1"
|
||||
@@ -165,6 +250,7 @@ ActiveRecord::Schema[7.2].define(version: 2025_12_09_182135) do
|
||||
t.string "dependent_6"
|
||||
t.string "dependent_7"
|
||||
t.string "dependent_8"
|
||||
t.string "plan_id"
|
||||
t.string "benefit_desc_1"
|
||||
t.string "benefit_1"
|
||||
t.string "benefit_desc_2"
|
||||
@@ -199,9 +285,14 @@ ActiveRecord::Schema[7.2].define(version: 2025_12_09_182135) do
|
||||
|
||||
add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id"
|
||||
add_foreign_key "active_storage_variant_records", "active_storage_blobs", column: "blob_id"
|
||||
add_foreign_key "alternative_network_logos", "employer_setup_processes"
|
||||
add_foreign_key "card_logo_files", "employer_setup_processes"
|
||||
add_foreign_key "alternate_network_logos", "employers"
|
||||
add_foreign_key "employer_card_logos", "card_logo_files"
|
||||
add_foreign_key "employer_card_logos", "employers"
|
||||
add_foreign_key "employers", "card_providers"
|
||||
add_foreign_key "employers", "card_rxes"
|
||||
add_foreign_key "id_card_benefits", "id_card_benefits_templates"
|
||||
add_foreign_key "members", "employers"
|
||||
add_foreign_key "members", "plans"
|
||||
add_foreign_key "plan_benefits", "plans"
|
||||
add_foreign_key "plans", "employer_setup_processes"
|
||||
add_foreign_key "plans", "employers"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user