mirror of https://github.com/fspc/BikeShed-1.git
Jason Denney
12 years ago
4 changed files with 33 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||
|
class CreateBikeBrands < ActiveRecord::Migration |
||||
|
def change |
||||
|
create_table :bike_brands do |t| |
||||
|
t.string "brand" |
||||
|
t.timestamps |
||||
|
end |
||||
|
end |
||||
|
end |
@ -0,0 +1,9 @@ |
|||||
|
class CreateBikeModels < ActiveRecord::Migration |
||||
|
def change |
||||
|
create_table :bike_models do |t| |
||||
|
t.integer "bike_brand_id" |
||||
|
t.string "model" |
||||
|
t.timestamps |
||||
|
end |
||||
|
end |
||||
|
end |
@ -0,0 +1,8 @@ |
|||||
|
class CreateBikeStyles < ActiveRecord::Migration |
||||
|
def change |
||||
|
create_table :bike_styles do |t| |
||||
|
t.string "style" |
||||
|
t.timestamps |
||||
|
end |
||||
|
end |
||||
|
end |
@ -0,0 +1,8 @@ |
|||||
|
class CreateBikeConditions < ActiveRecord::Migration |
||||
|
def change |
||||
|
create_table :bike_conditions do |t| |
||||
|
t.string "condition" |
||||
|
t.timestamps |
||||
|
end |
||||
|
end |
||||
|
end |
Loading…
Reference in new issue