From 219d7616c60931ae051ee1724c3224e47e7d8207 Mon Sep 17 00:00:00 2001 From: Jason Denney <jdenney@lgscout.com> Date: Tue, 4 Dec 2012 17:25:59 -0500 Subject: [PATCH] Add bike migration --- db/migrate/20121204221242_create_bike.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 db/migrate/20121204221242_create_bike.rb diff --git a/db/migrate/20121204221242_create_bike.rb b/db/migrate/20121204221242_create_bike.rb new file mode 100644 index 0000000..987529e --- /dev/null +++ b/db/migrate/20121204221242_create_bike.rb @@ -0,0 +1,18 @@ +class CreateBike < ActiveRecord::Migration + def change + create_table :bikes do |t| + t.string "serial_number" + t.integer "bike_brand_id" + t.integer "bike_model_id" + t.string "color" + t.integer "bike_style_id" + t.float "seat_tube_height" + t.float "top_tube_length" + t.integer "wheel_size" + t.float "value" + t.string "bike_condition_id" + t.integer "bike_status_id" + t.timestamps + end + end +end