Sha256: 1f3bef708e59623ea0f31f6c1a1db070216fddf7d7178614ce14c77c53bd72c1
Contents?: true
Size: 291 Bytes
Versions: 23
Compression:
Stored size: 291 Bytes
Contents
# Defines the relation between Host and AnsibleRole class CreateJoinTableHostsAnsibleRoles < ActiveRecord::Migration[4.2] 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
23 entries across 23 versions & 1 rubygems