Sha256: c1a0f30442db28e375d56760254d879bfde2982bba5884c573c08ee39cad3fb3

Contents?: true

Size: 350 Bytes

Versions: 47

Compression:

Stored size: 350 Bytes

Contents

class CreateHostgroupPuppetFacet < ActiveRecord::Migration[6.0]
  def change
    create_table :hostgroup_puppet_facets do |t|
      t.references :hostgroup, foreign_key: true
      t.references :environment, foreign_key: true
      t.references :puppet_proxy, foreign_key: { to_table: :smart_proxies }
      t.timestamps null: true
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
foreman_puppet-1.0.1 db/migrate/20200803113531_create_hostgroup_puppet_facet.foreman_puppet.rb
foreman_puppet-1.0.0 db/migrate/20200803113531_create_hostgroup_puppet_facet.foreman_puppet.rb
foreman_puppet-1.0.0.rc.2 db/migrate/20200803113531_create_hostgroup_puppet_facet.foreman_puppet.rb
foreman_puppet-1.0.0.rc.1 db/migrate/20200803113531_create_hostgroup_puppet_facet.foreman_puppet.rb
foreman_puppet-0.1.0 db/migrate/20200803113531_create_hostgroup_puppet_facet.foreman_puppet.rb
foreman_puppet-0.0.2 db/migrate/20200803113531_create_hostgroup_puppet_facet.foreman_puppet.rb
foreman_puppet-0.0.1 db/migrate/20200803113531_create_hostgroup_puppet_facet.foreman_puppet.rb