Added bike_brands and bike_models sql data

-Update some migrations to match source schema, will need to add timestamps back eventually
This commit is contained in:
Jason Denney
2012-12-08 14:59:49 -05:00
parent 6937cc3146
commit 7bf4c4d601
3 changed files with 7 additions and 5 deletions
@@ -2,7 +2,7 @@ class CreateBikeBrands < ActiveRecord::Migration
def change
create_table :bike_brands do |t|
t.string "brand"
t.timestamps
#t.timestamps
end
end
end
@@ -1,9 +1,9 @@
class CreateBikeModels < ActiveRecord::Migration
def change
create_table :bike_models do |t|
t.integer "bike_brand_id", :null => false
t.string "model", :null => false
t.timestamps
t.integer "bike_brand_id", :null => false
#t.timestamps
end
end
end