10 lines
163 B
Ruby
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
|