Sha256: 7f00cfbda178edaf167112ac799a2b61ad44fbe49652ce14cb75aa0a1a0363c7

Contents?: true

Size: 277 Bytes

Versions: 11

Compression:

Stored size: 277 Bytes

Contents

class AddIndexToJoinTables < ActiveRecord::Migration
  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

11 entries across 11 versions & 1 rubygems

Version Path
foreman_salt-8.0.4 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-9.0.1 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-9.0.0 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-8.0.3 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-8.0.2 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-8.0.1 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-7.0.3 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-8.0.0 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-7.0.2 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-6.0.1 db/migrate/20161103104146_add_index_to_join_tables.rb
foreman_salt-7.0.1 db/migrate/20161103104146_add_index_to_join_tables.rb