Major features finished
This commit is contained in:
@@ -13,4 +13,4 @@ class CreateEmployers < ActiveRecord::Migration[7.2]
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -9,6 +9,7 @@ class CreateIdCardSetups < ActiveRecord::Migration[7.2]
|
||||
t.string :pl_plan_key
|
||||
t.boolean :active, default: false
|
||||
t.boolean :has_divisions, default: false
|
||||
t.boolean :has_dental, default: false
|
||||
t.belongs_to :employer, null: false, foreign_key: true
|
||||
t.belongs_to :employer_logo, null: true, foreign_key: { to_table: :id_card_employer_logos }
|
||||
t.belongs_to :network_logo, null: true, foreign_key: { to_table: :id_card_network_logos }
|
||||
|
||||
@@ -10,6 +10,7 @@ class CreateIdCardPrintData < ActiveRecord::Migration[7.0]
|
||||
t.string :full_name
|
||||
t.string :rx_group
|
||||
t.string :medical_eff_date
|
||||
t.string :dental_coverage
|
||||
t.string :network_provider
|
||||
t.string :provider_line_1
|
||||
t.string :provider_line_2
|
||||
@@ -74,11 +75,12 @@ class CreateIdCardPrintData < ActiveRecord::Migration[7.0]
|
||||
t.string :benefit_13
|
||||
t.string :benefit_desc_14
|
||||
t.string :benefit_14
|
||||
t.integer :network_logo_id
|
||||
t.string :precert_1
|
||||
t.string :precert_2
|
||||
t.string :precert_3
|
||||
t.string :precert_4
|
||||
t.string :network_logo_filename
|
||||
t.string :employer_logo_filename
|
||||
t.boolean :sample, default: false
|
||||
t.string :sample_key
|
||||
t.string :sample_plan_title
|
||||
t.string :jasper_batch_id
|
||||
|
||||
|
||||
@@ -7,7 +7,9 @@ class CreateMembers < ActiveRecord::Migration[7.2]
|
||||
t.integer :pb_entity_key
|
||||
t.integer :pl_plan_key
|
||||
t.string :id_card_display_name
|
||||
t.string :coverage_class
|
||||
t.string :division
|
||||
t.string :dental_plan_key
|
||||
t.belongs_to :employer, foreign_key: true
|
||||
t.belongs_to :id_card_plan, null: true, foreign_key: true
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ class CreateIdCardFieldExceptions < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :id_card_field_exceptions do |t|
|
||||
t.string :exception_type
|
||||
t.string :exception_value
|
||||
t.string :exception_values
|
||||
t.belongs_to :setup, null: false, foreign_key: { to_table: :id_card_setups }
|
||||
|
||||
t.timestamps
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
class CreateReportEmployerCardComparisons < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :report_employer_card_comparisons do |t|
|
||||
t.string :employer_name
|
||||
t.string :pl_plan_key
|
||||
t.integer :new_cards_count
|
||||
t.integer :old_cards_count
|
||||
t.integer :total_errors_count
|
||||
t.boolean :passed, default: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
class CreateReportMemberCardComparisons < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :report_member_card_comparisons do |t|
|
||||
t.integer :member_number
|
||||
t.string :pl_plan_key
|
||||
t.boolean :passed, default: false
|
||||
t.belongs_to :employer_card_comparison, null: true, foreign_key: { to_table: :report_employer_card_comparisons }
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,14 @@
|
||||
class CreateReportComparisonErrors < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :report_comparison_errors do |t|
|
||||
t.string :card_field
|
||||
t.string :new_value
|
||||
t.string :old_value
|
||||
t.boolean :disabled, default: false
|
||||
t.belongs_to :employer_card_comparison, null: true, foreign_key: { to_table: :report_employer_card_comparisons }
|
||||
t.belongs_to :member_card_comparison, null: true, foreign_key: { to_table: :report_member_card_comparisons }
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,80 @@
|
||||
class CreateReportOldCardDuplicates < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
create_table :report_old_card_duplicates do |t|
|
||||
t.string :employer_name
|
||||
t.string :full_name
|
||||
t.string :group_number
|
||||
t.string :medical_eff_date
|
||||
t.string :dental_coverage
|
||||
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 :family_id
|
||||
t.string :rx_group
|
||||
t.string :customer_service
|
||||
t.string :web_url
|
||||
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.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 :pl_plan_key
|
||||
t.string :primary_mb_member_key
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddDependentsToMember < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_column :members, :dependents, :text
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user