20220115125126_add_report_id_to_account_warnings.rb 273 B

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