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

13 lines
234 B
Ruby

# -*- encoding : utf-8 -*-
class AddAvatarToUsers < ActiveRecord::Migration
def change
change_table :users do |t|
t.has_attached_file :avatar
end
end
def self.down
drop_attached_file :users, :avatar
end
end