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
Jason Denney aa3ed3d43b git init
2012-12-04 00:46:15 -05:00

8 lines
263 B
Ruby

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