Files
baclight/db/migrate/20260408164533_create_report_comparison_errors.rb
2026-04-15 08:12:47 -04:00

15 lines
522 B
Ruby

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