You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
397 B
14 lines
397 B
11 years ago
|
class AddFieldsToBike < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_column :bikes, :seat_tube_size, :float
|
||
|
add_column :bikes, :top_tube_size, :float
|
||
|
add_column :bikes, :log_number, :int
|
||
|
add_column :bikes, :purpose, :text
|
||
|
add_column :bikes, :mechanic, :text
|
||
|
|
||
|
remove_column :bikes, :repaired_by
|
||
|
remove_column :bikes, :sale
|
||
|
remove_column :bikes, :freecyclery
|
||
|
end
|
||
|
end
|