20171107143332_add_memorial_to_accounts.rb 285 B

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