1
0
mirror of https://github.com/fspc/bike-database.git synced 2025-04-04 10:03:22 -04:00
bike-database/db/migrate/20140118202104_create_bike_table.rb

20 lines
430 B
Ruby

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.boolean :freecyclery
t.boolean :sale
t.string :serial_number
t.text :notes
t.text :tag_info
t.string :repaired_by
t.string :completion_date
t.string :price
end
end
end