rosa-build/db/migrate/20121003154246_add_avatar_t...

12 lines
210 B
Ruby
Raw Normal View History

class AddAvatarToGroups < ActiveRecord::Migration
def change
change_table :groups do |t|
t.has_attached_file :avatar
end
end
def self.down
drop_attached_file :groups, :avatar
end
end