Sha256: 16c2e97d06af05a4a444e79b2868c391aa0ff59de6c3c0cb07454320879a3845
Contents?: true
Size: 234 Bytes
Versions: 1
Compression:
Stored size: 234 Bytes
Contents
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_ansible-1.0 | db/migrate/20160706074540_create_join_table_hosts_ansible_roles.rb |