mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-02-28 16:53:23 -05:00
8 lines
263 B
Ruby
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
|