1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 16:53:23 -05:00
BikeShed-1/db/migrate/20120301124238_add_names_to_user.rb

8 lines
263 B
Ruby
Raw Normal View History

2012-12-04 00:46:15 -05:00
class AddNamesToUser < ActiveRecord::Migration
def change
add_column :users, :first_name, :string, :null => false, :default => ''
add_column :users, :last_name, :string, :null => false, :default => ''
add_column :users, :nickname, :string
end
end