Sha256: 3fd5ea8c98b38fbb296117628573bb83f9b5763b07f32478d83cec72f822a131

Contents?: true

Size: 279 Bytes

Versions: 104

Compression:

Stored size: 279 Bytes

Contents

# frozen_string_literal: true

# Renames join table between Host and Ansible Roles
class CreateHostAnsibleRoles < ActiveRecord::Migration[4.2]
  def change
    rename_table :ansible_roles_hosts, :host_ansible_roles
    add_column :host_ansible_roles, :id, :primary_key
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
foreman_ansible-6.3.2 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-6.3.1 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-6.4.1 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-6.4.0 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-6.3.0 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-6.2.0 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-6.1.1 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-6.0.2 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-6.1.0 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-6.0.1 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-5.1.3 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-6.0.0 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-5.1.2 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-5.1.1 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-5.1.0 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-4.0.3.5 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-4.0.3.4 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-4.0.3.3 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-4.0.3.2 db/migrate/20160707195442_create_host_ansible_roles.rb
foreman_ansible-5.0.1 db/migrate/20160707195442_create_host_ansible_roles.rb