mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 16:41:38 -04:00
Louis | Remove failing autogenerated tests, fix bug where bike type wasn't saving
This commit is contained in:
@@ -6,7 +6,6 @@ class CreateBikeTable < ActiveRecord::Migration
|
||||
t.string :model
|
||||
t.string :type
|
||||
t.string :color
|
||||
t.string :frame_size
|
||||
t.boolean :freecyclery
|
||||
t.boolean :sale
|
||||
t.string :serial_number
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddBikeToClient < ActiveRecord::Migration
|
||||
def change
|
||||
add_reference :clients, :bike, index: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user