Sha256: 5bc025079313efda81268405a88a15b0cde8a29acfb6464b3ddf592cecc21732

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

class AddPagesStores < SolidusSupport::Migration[4.2]

  def change
    create_table :spree_pages_stores, :id => false do |t|
      t.integer :store_id
      t.integer :page_id
      t.timestamps
    end

    add_index :spree_pages_stores, :store_id
    add_index :spree_pages_stores, :page_id

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_static_content-2.0.0 db/migrate/20140926121757_add_pages_stores.rb