Sha256: 62422453bc1a56c6d02a1758b6993162e469412a3f59da4575692c99041274e8

Contents?: true

Size: 254 Bytes

Versions: 11

Compression:

Stored size: 254 Bytes

Contents

# Added in theforeman/foreman#bb07c3b1cf
class AddEnvironmentPuppetclassId < ActiveRecord::Migration[5.2]
  def change
    add_index :environment_classes, %i[environment_id puppetclass_id]
    remove_index :environment_classes, :environment_id
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
foreman_puppet-1.0.5 db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb
foreman_puppet-1.0.4 db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb
foreman_puppet-1.0.3 db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb
foreman_puppet-1.0.2 db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb
foreman_puppet-1.0.1 db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb
foreman_puppet-1.0.0 db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb
foreman_puppet-1.0.0.rc.2 db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb
foreman_puppet-1.0.0.rc.1 db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb
foreman_puppet-0.1.0 db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb
foreman_puppet-0.0.2 db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb
foreman_puppet-0.0.1 db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb