Sha256: d1df30952b3f2905f43f58bfbad538673c37467f5af119e77150a5504fa260a9

Contents?: true

Size: 275 Bytes

Versions: 8

Compression:

Stored size: 275 Bytes

Contents

class CreateSccProductsSccRepositoriesJoinTable < ActiveRecord::Migration
  def change
    create_join_table :scc_products, :scc_repositories do |t|
      # t.index [:scc_product_id, :scc_repository_id]
      # t.index [:scc_repository_id, :scc_product_id]
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_scc_manager-1.3.0 db/migrate/20170301141330_create_scc_products_scc_repositories_join_table.rb
foreman_scc_manager-1.2.0 db/migrate/20170301141330_create_scc_products_scc_repositories_join_table.rb
foreman_scc_manager-1.1.3 db/migrate/20170301141330_create_scc_products_scc_repositories_join_table.rb
foreman_scc_manager-1.1.2 db/migrate/20170301141330_create_scc_products_scc_repositories_join_table.rb
foreman_scc_manager-1.1.1 db/migrate/20170301141330_create_scc_products_scc_repositories_join_table.rb
foreman_scc_manager-1.1.0 db/migrate/20170301141330_create_scc_products_scc_repositories_join_table.rb
foreman_scc_manager-1.0.1 db/migrate/20170301141330_create_scc_products_scc_repositories_join_table.rb
foreman_scc_manager-1.0.0 db/migrate/20170301141330_create_scc_products_scc_repositories_join_table.rb