10 lines
164 B
Ruby
Executable File
10 lines
164 B
Ruby
Executable File
class AddNameToUsers < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :users, :name, :string
|
|
end
|
|
|
|
def self.down
|
|
remove_column :users, :name
|
|
end
|
|
end
|