Sha256: 7177014b5004ba3333b08a44ec8147ce4d08392d03c60fcb7a2d580579bda570

Contents?: true

Size: 282 Bytes

Versions: 28

Compression:

Stored size: 282 Bytes

Contents

class AddIndexToJoinTables < ActiveRecord::Migration[4.2]
  def change
    add_index :host_salt_modules, :host_id
    add_index :host_salt_modules, :salt_module_id
    add_index :hostgroup_salt_modules, :hostgroup_id
    add_index :hostgroup_salt_modules, :salt_module_id
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
foreman_salt-17.0.0 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-16.0.3 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-16.0.2 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-16.0.1 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-16.0.0 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-15.2.3 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-15.2.2 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-15.2.1 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-15.2.0 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-15.1.0 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-15.0.0 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-14.1.0 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-14.0.0 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-13.2.4 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-13.2.3 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-13.2.2 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-13.2.1 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-13.2.0 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-13.1.0 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-13.0.0 db/migrate/20161103104146_add_index_to_join_tables.rb