20220115125126_add_report_id_to_account_warnings.rb 304 B

12345678
  1. # frozen_string_literal: true
  2. class AddReportIdToAccountWarnings < ActiveRecord::Migration[6.1]
  3. def change
  4. safety_assured { add_reference :account_warnings, :report, foreign_key: { on_delete: :cascade }, index: false }
  5. add_column :account_warnings, :status_ids, :string, array: true
  6. end
  7. end