cirandas.net

ref: master

db/migrate/20100619114048_create_product_qualifiers.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
class CreateProductQualifiers < ActiveRecord::Migration
  def self.up
    create_table :product_qualifiers do |t|
      t.references :product
      t.references :qualifier
      t.references :certifier
      t.timestamps
    end
  end

  def self.down
    drop_table :product_qualifiers
  end
end