Sha256: f91311024251d34cab4a6f66be531a2d24124c4dc690c7b9273f647c4a7ba57c

Contents?: true

Size: 279 Bytes

Versions: 13

Compression:

Stored size: 279 Bytes

Contents

class CreateProductsStores < ActiveRecord::Migration
  def self.up
    create_table :products_stores, :id => false do |t|
      t.references :product
      t.references :store
      t.timestamps null: true
    end
  end

  def self.down
    drop_table :products_stores
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
solidus_multi_domain-1.5.0 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.4.3 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.4.2 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.4.1 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.4.0 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.3.0 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.2.0 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.1.3 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.1.2 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.1.1 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.0.3 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.1.0 db/migrate/20100227180338_create_products_stores.rb
solidus_multi_domain-1.0.1 db/migrate/20100227180338_create_products_stores.rb