Files
baclight/db/migrate/20251202144134_create_id_card_provider_sections.rb
T
2026-03-13 08:47:13 -04:00

52 lines
1.4 KiB
Ruby

class CreateIdCardProviderSections < ActiveRecord::Migration[7.2]
def change
create_table :id_card_provider_sections do |t|
t.string :title
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.boolean :default, default: false
t.timestamps
end
end
end