Sha256: 4a04eddd65fba458a403611e8341d27421f812d79069b52515c6545b6d18f3ba

Contents?: true

Size: 465 Bytes

Versions: 23

Compression:

Stored size: 465 Bytes

Contents

class CreateC80YaxJoinTablePricePropsPropNames < ActiveRecord::Migration
  def change
    create_table :c80_yax_price_props_prop_names, :id => false do |t|
      t.integer :price_prop_id, :null => false
      t.integer :prop_name_id, :null => false
    end

    add_index :c80_yax_price_props_prop_names, [:price_prop_id, :prop_name_id], name: 'too_long1'
    add_index :c80_yax_price_props_prop_names, [:prop_name_id, :price_prop_id], name: 'too_long2'

  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
c80_yax-0.1.0.25 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.24 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.23 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.22 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.21 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.20 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.18 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.17 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.16 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.15 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.14 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.13 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.12 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.11 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.10 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.9 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.8 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.7 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.6 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb
c80_yax-0.1.0.5 db/migrate/20170620164949_create_c80_yax_join_table_price_props_prop_names.rb