Sha256: 0afa54659b10fcbd8c096cb67efc345b429a338beb62222b3032c460342931d4

Contents?: true

Size: 380 Bytes

Versions: 104

Compression:

Stored size: 380 Bytes

Contents

# frozen_string_literal: true

# to keep track of when the roles were imported
class AddAnsibleRoleIdToLookupKeys < ActiveRecord::Migration[4.2]
  def up
    add_column :lookup_keys, :ansible_role_id, :integer
    add_index :lookup_keys, :ansible_role_id
  end

  def down
    remove_index :lookup_keys, :ansible_role_id
    remove_column :lookup_keys, :ansible_role_id
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
foreman_ansible-10.2.0 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-10.1.0 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-10.0.1 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-10.0.0 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-7.1.4 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-9.0.1 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-7.1.3 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-9.0.0 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-7.1.2 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-7.1.1 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-8.0.1 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-8.0.0 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-7.0.4 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-7.1.0 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-7.0.3 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-7.0.2 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-7.0.1 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-7.0.0 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-6.3.4 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb
foreman_ansible-6.3.3 db/migrate/20180628125416_add_ansible_role_id_to_lookup_keys.rb