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