mirror of https://github.com/fspc/BikeShed-1.git
Browse Source
-Update some migrations to match source schema, will need to add timestamps back eventuallydenney-disable-on-select
Jason Denney
12 years ago
3 changed files with 7 additions and 5 deletions
@ -1,9 +1,9 @@ |
|||||
class CreateBikeModels < ActiveRecord::Migration |
class CreateBikeModels < ActiveRecord::Migration |
||||
def change |
def change |
||||
create_table :bike_models do |t| |
create_table :bike_models do |t| |
||||
t.integer "bike_brand_id", :null => false |
|
||||
t.string "model", :null => false |
t.string "model", :null => false |
||||
t.timestamps |
t.integer "bike_brand_id", :null => false |
||||
|
#t.timestamps |
||||
end |
end |
||||
end |
end |
||||
end |
end |
||||
|
Loading…
Reference in new issue