mirror of https://github.com/fspc/BikeShed-1.git
Ilya Konanykhin
8 years ago
6 changed files with 44 additions and 2 deletions
@ -0,0 +1,11 @@ |
|||
class AddAttachmentAvatarToUsers < ActiveRecord::Migration |
|||
def self.up |
|||
change_table :users do |t| |
|||
t.attachment :avatar |
|||
end |
|||
end |
|||
|
|||
def self.down |
|||
remove_attachment :users, :avatar |
|||
end |
|||
end |
Loading…
Reference in new issue