Sha256: d0dc1c9ab65daa92b61189c14312c8d6d57ef06144fd56cf8340151fb4670d1d

Contents?: true

Size: 439 Bytes

Versions: 8

Compression:

Stored size: 439 Bytes

Contents

class CreateC80PushJoinTableDealersPresets < ActiveRecord::Migration[5.0]
  def change
    create_table :c80_push_dealers_presets, :id => false do |t|
      t.integer :dealer_id, :null => false
      t.integer :preset_id, :null => false
    end

    add_index :c80_push_dealers_presets, [:dealer_id, :preset_id], name: 'too_long_push11'
    add_index :c80_push_dealers_presets, [:preset_id, :dealer_id], name: 'too_long_push12'

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
c80_push-0.1.0.11 db/migrate/20170630061515_create_c80_push_join_table_dealers_presets.rb
c80_push-0.1.0.10 db/migrate/20170630061515_create_c80_push_join_table_dealers_presets.rb
c80_push-0.1.0.8 db/migrate/20170630061515_create_c80_push_join_table_dealers_presets.rb
c80_push-0.1.0.7 db/migrate/20170630061515_create_c80_push_join_table_dealers_presets.rb
c80_push-0.1.0.6 db/migrate/20170630061515_create_c80_push_join_table_dealers_presets.rb
c80_push-0.1.0.5 db/migrate/20170630061515_create_c80_push_join_table_dealers_presets.rb
c80_push-0.1.0.4 db/migrate/20170630061515_create_c80_push_join_table_dealers_presets.rb
c80_push-0.1.0.3 db/migrate/20170630061515_create_c80_push_join_table_dealers_presets.rb