Sha256: a89be9c01c7da098809bf173f1328bf34570fe2de9ccb48207ce449233ff48ac
Contents?: true
Size: 528 Bytes
Versions: 14
Compression:
Stored size: 528 Bytes
Contents
# Defines the relation between Hostgroup and AnsibleRole # rubocop:disable Metrics/LineLength class CreateJoinTableHostgroupAnsibleRoles < ActiveRecord::Migration def change create_join_table :hostgroup, :ansible_roles, :table_name => 'hostgroup_ansible_roles' do |t| t.index [:hostgroup_id, :ansible_role_id], :name => 'index_ansible_roles_hostgroup_on_hostgroup_id_and_role_id' t.index [:ansible_role_id, :hostgroup_id], :name => 'index_ansible_roles_hostgroup_on_role_id_and_hostgroup_id' end end end
Version data entries
14 entries across 14 versions & 1 rubygems