core/db/migrate/20150823071425_create_comable_variants.rb
class CreateComableVariants < ActiveRecord::Migration
def change
create_table :comable_variants do |t|
t.references :product, null: false
t.integer :price, null: false, default: 0
t.string :sku
t.timestamps null: false
end
end
end