greenlight/db/migrate/20170510175654_add_attachment_background_to_users.rb
2017-05-11 09:58:51 -04:00

12 lines
222 B
Ruby

class AddAttachmentBackgroundToUsers < ActiveRecord::Migration
def self.up
change_table :users do |t|
t.attachment :background
end
end
def self.down
remove_attachment :users, :background
end
end