Sha256: 81653f9afed9b78e984d463421a0461eae95f3bef445e4908e9b6da22412378a

Contents?: true

Size: 477 Bytes

Versions: 11

Compression:

Stored size: 477 Bytes

Contents

class CreateProductsTaxRates < ActiveRecord::Migration
  def up
    create_table "products_tax_rates", :id => false, :force => true do |t|
      t.integer "product_id"
      t.integer "tax_rate_id"
    end

    add_index "products_tax_rates", ["product_id"], :name => "index_products_tax_rates_on_product_id"
    add_index "products_tax_rates", ["tax_rate_id"], :name => "index_products_tax_rates_on_tax_rate_id"
  end

  def down
    drop_table "products_tax_rates"
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/db/migrate/20130405172031_create_products_tax_rates.rb
forge-cli-0.1.9 lib/forge/db/migrate/20130405172031_create_products_tax_rates.rb
forge-cli-0.1.8 lib/forge/db/migrate/20130405172031_create_products_tax_rates.rb
forge-cli-0.1.7 lib/forge/db/migrate/20130405172031_create_products_tax_rates.rb
forge-cli-0.1.6 lib/forge/db/migrate/20130405172031_create_products_tax_rates.rb
forge-cli-0.1.5 lib/forge/db/migrate/20130405172031_create_products_tax_rates.rb
forge-cli-0.1.4 lib/forge/db/migrate/20130405172031_create_products_tax_rates.rb
forge-cli-0.1.3 lib/forge/db/migrate/20130405172031_create_products_tax_rates.rb
forge-cli-0.1.2 lib/forge/db/migrate/20130405172031_create_products_tax_rates.rb
forge-cli-0.1.1 lib/forge/db/migrate/20130405172031_create_products_tax_rates.rb
forge-cli-0.1.0 lib/forge/db/migrate/20130405172031_create_products_tax_rates.rb