Sha256: e02eeb80c88684873590e908dc6c9713565121190ae8543d47ae0364c03b4382

Contents?: true

Size: 513 Bytes

Versions: 1

Compression:

Stored size: 513 Bytes

Contents

class CategoriesSellers < ActiveRecord::Migration
  def self.up
    create_table "categories_sellers", :id => false, :force => true do |t|
      t.integer "category_id", :null => false
      t.integer "seller_id",   :null => false
    end

    add_index "categories_sellers", ["category_id"], :name => "index_categories_sellers_on_category_id"
    add_index "categories_sellers", ["seller_id"], :name => "index_categories_sellers_on_seller_id"
  end

  def self.down
    drop_table "categories_sellers"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ultrasphinx-1.11 test/integration/app/db/migrate/011_categories_sellers.rb