Employers working - onboarding to card print
CI / scan_ruby (push) Failing after 10m41s
CI / lint (push) Failing after 7m31s
CI / test (push) Failing after 8m29s
Docker / build-and-test-image (push) Failing after 11m32s

This commit is contained in:
Jason Jordan
2026-01-15 11:37:50 -05:00
parent 0464ba8929
commit 4fac3b1036
108 changed files with 4113 additions and 431 deletions
@@ -1,16 +0,0 @@
class CreateEmployerSetupProcesses < ActiveRecord::Migration[7.2]
def change
create_table :employer_setup_processes do |t|
t.string :employer_name
t.string :group_number
t.string :effect_date
t.string :logo_filename
t.string :form_method
t.string :status
t.string :current_step
t.timestamps
end
end
end
@@ -0,0 +1,26 @@
class CreateEmployers < ActiveRecord::Migration[7.2]
def change
create_table :employers 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.timestamps
end
end
end
+2 -2
View File
@@ -2,8 +2,8 @@ class CreatePlans < ActiveRecord::Migration[7.2]
def change
create_table :plans do |t|
t.string :title
t.references :employer_setup_process, null: false, foreign_key: true
t.integer :pb_product_key
t.references :employer, null: false, foreign_key: true
t.timestamps
end
@@ -1,10 +1,10 @@
class CreateNetworkLogos < ActiveRecord::Migration[7.0]
def change
create_table :alternate_network_logos do |t|
t.string :network_logo
t.string :network_logo_filename
t.string :exception_type
t.string :exception_value
t.belongs_to :employer_setup_process, null: false, foreign_key: true
t.belongs_to :employer, null: false, foreign_key: true
t.timestamps
end
@@ -2,9 +2,10 @@ class CreateCardLogoFiles < ActiveRecord::Migration[7.2]
def change
create_table :card_logo_files 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.timestamps
end
@@ -0,0 +1,79 @@
class CreateSampleIdCards < ActiveRecord::Migration[7.0]
def change
create_table :sample_id_cards do |t|
t.string :full_name
t.string :family_id
t.string :primary_mb_member_key
t.string :employer_name
t.string :group_number
t.string :rx_group
t.string :medical_eff_date
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 :customer_service
t.string :web_url
t.string :dependent_1
t.string :dependent_2
t.string :dependent_3
t.string :dependent_4
t.string :dependent_5
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
t.string :benefit_2
t.string :benefit_desc_3
t.string :benefit_3
t.string :benefit_desc_4
t.string :benefit_4
t.string :benefit_desc_5
t.string :benefit_5
t.string :benefit_desc_6
t.string :benefit_6
t.string :benefit_desc_7
t.string :benefit_7
t.string :benefit_desc_8
t.string :benefit_8
t.string :benefit_desc_9
t.string :benefit_9
t.string :benefit_desc_10
t.string :benefit_10
t.string :benefit_desc_11
t.string :benefit_11
t.string :benefit_desc_12
t.string :benefit_12
t.string :benefit_desc_13
t.string :benefit_13
t.string :benefit_desc_14
t.string :benefit_14
t.timestamps
end
end
end
@@ -0,0 +1,11 @@
class CreateEmployerCardLogos < ActiveRecord::Migration[7.2]
def change
create_table :employer_card_logos do |t|
t.references :employer, null: false, foreign_key: true
t.references :card_logo_file, null: false, foreign_key: true
t.string :logo_type
t.timestamps
end
end
end
@@ -0,0 +1,49 @@
class CreateCardProviders < ActiveRecord::Migration[7.2]
def change
create_table :card_providers 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 :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.timestamps
end
end
end
@@ -0,0 +1,11 @@
class CreateCardRxes < ActiveRecord::Migration[7.2]
def change
create_table :card_rxes do |t|
t.string :help_desk
t.string :customer_service
t.string :web_url
t.timestamps
end
end
end
@@ -0,0 +1,6 @@
class AddCardRxToEmployers < ActiveRecord::Migration[7.2]
def change
add_reference :employers, :card_provider, null: true, foreign_key: true
add_reference :employers, :card_rx, null: true, foreign_key: true
end
end
@@ -0,0 +1,16 @@
class CreateMembers < ActiveRecord::Migration[7.2]
def change
create_table :members 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.belongs_to :employer, foreign_key: true
t.belongs_to :plan, null: true, foreign_key: true
t.timestamps
end
end
end