photomix/db/migrate/20090528152114_add_name_to_user.rb

10 lines
163 B
Ruby
Raw Normal View History

2009-06-02 00:08:57 +02:00
class AddNameToUser < ActiveRecord::Migration
def self.up
add_column :users, :name, :string
end
def self.down
remove_column :users, :name
end
end