1
0

20160227230233_add_attachment_avatar_to_accounts.rb 224 B

1234567891011
  1. class AddAttachmentAvatarToAccounts < ActiveRecord::Migration[4.2]
  2. def self.up
  3. change_table :accounts do |t|
  4. t.attachment :avatar
  5. end
  6. end
  7. def self.down
  8. remove_attachment :accounts, :avatar
  9. end
  10. end