Sha256: 4ceff448ca66b47b29934236c6219196491e29408195a1a0f61b6d374af15eee
Contents?: true
Size: 606 Bytes
Versions: 25
Compression:
Stored size: 606 Bytes
Contents
# frozen_string_literal: true # Defines the relation between Hostgroup and AnsibleRole # rubocop:disable Metrics/LineLength class CreateJoinTableHostgroupAnsibleRoles < ActiveRecord::Migration[4.2] 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' # rubocop:enable Metrics/LineLength end end end
Version data entries
25 entries across 25 versions & 1 rubygems