20200312144258_add_title_to_account_warning_presets.rb 318 B

12345678910111213
  1. # frozen_string_literal: true
  2. class AddTitleToAccountWarningPresets < ActiveRecord::Migration[5.2]
  3. disable_ddl_transaction!
  4. def up
  5. safety_assured { add_column :account_warning_presets, :title, :string, default: '', null: false }
  6. end
  7. def down
  8. remove_column :account_warning_presets, :title
  9. end
  10. end