20160312193225_add_attachment_header_to_accounts.rb 255 B

12345678910111213
  1. # frozen_string_literal: true
  2. class AddAttachmentHeaderToAccounts < ActiveRecord::Migration[4.2]
  3. def self.up
  4. change_table :accounts do |t|
  5. t.attachment :header
  6. end
  7. end
  8. def self.down
  9. remove_attachment :accounts, :header
  10. end
  11. end