1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-04-04 05:33:22 -04:00
BikeShed-1/db/migrate/20121205040602_create_bike_models.rb
2012-12-04 23:36:50 -05:00

10 lines
223 B
Ruby

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
end
end
end