Class: AddNameToUsers

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/caseadilla/install/templates/steak/db/migrate/add_name_to_users.rb

Instance Method Summary collapse

Instance Method Details

#changeObject


3
4
5
6
7
# File 'lib/generators/caseadilla/install/templates/steak/db/migrate/add_name_to_users.rb', line 3

def change
  add_column :users, :first_name, :string
  add_column :users, :last_name, :string
  add_column :users, :time_zone, :string
end