mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 16:41:38 -04:00
fix config naming and update bike db fields
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user