Sha256: b689057f2d838a045fb859d5f46380f39fbf8176222b2d2e5e0a28b35aa6232b
Contents?: true
Size: 286 Bytes
Versions: 14
Compression:
Stored size: 286 Bytes
Contents
# Defines the relation between Host and AnsibleRole class CreateJoinTableHostsAnsibleRoles < ActiveRecord::Migration def change create_join_table :ansible_roles, :hosts do |t| t.index [:host_id, :ansible_role_id] t.index [:ansible_role_id, :host_id] end end end
Version data entries
14 entries across 14 versions & 1 rubygems