mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-02-28 16:53:23 -05:00
Add bike migration
This commit is contained in:
parent
ea8dd6842c
commit
219d7616c6
18
db/migrate/20121204221242_create_bike.rb
Normal file
18
db/migrate/20121204221242_create_bike.rb
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user