Sha256: 5b9d45b86e2678fd64342b34d71cb88878a731a0b8d4484f915716623f42264f

Contents?: true

Size: 472 Bytes

Versions: 23

Compression:

Stored size: 472 Bytes

Contents

class CreateC80YaxJoinTablePrefixPropsPropNames < ActiveRecord::Migration
  def change
    create_table :c80_yax_prefix_props_prop_names, :id => false do |t|
      t.integer :prefix_prop_id, :null => false
      t.integer :prop_name_id, :null => false
    end

    add_index :c80_yax_prefix_props_prop_names, [:prefix_prop_id, :prop_name_id], name: 'too_long7'
    add_index :c80_yax_prefix_props_prop_names, [:prop_name_id, :prefix_prop_id], name: 'too_long8'

  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

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