photomix/db/migrate/20090528152114_add_name_to_user.rb
2009-06-02 00:08:57 +02:00

10 lines
163 B
Ruby

class AddNameToUser < ActiveRecord::Migration
def self.up
add_column :users, :name, :string
end
def self.down
remove_column :users, :name
end
end