018_create_consumptions.rb 256 Bytes
class CreateConsumptions < ActiveRecord::Migration
  def self.up
    create_table :consumptions do |t|
      t.column :product_category_id, :integer
      t.column :profile_id, :integer
    end
  end

  def self.down
    drop_table :consumptions
  end
end