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.
21 lines
486 B
21 lines
486 B
class CreateBikeTable < ActiveRecord::Migration
|
|
def change
|
|
create_table :bikes do |t|
|
|
t.string :entry_date
|
|
t.string :brand
|
|
t.string :model
|
|
t.string :type
|
|
t.string :color
|
|
t.string :frame_size
|
|
t.boolean :freecyclery
|
|
t.boolean :sale
|
|
t.string :serial_number
|
|
t.text :notes
|
|
t.text :tag_info
|
|
t.string :repaired_by
|
|
t.string :repaired_for
|
|
t.string :completion_date
|
|
t.string :price
|
|
end
|
|
end
|
|
end
|
|
|