Sha256: 4ff92d930155e7e4721a4066e74f5b0840861e372daa27d32fcfe39336b9ab7d
Contents?: true
Size: 317 Bytes
Versions: 195
Compression:
Stored size: 317 Bytes
Contents
class AddAnonymousProvidersToOrgs < ActiveRecord::Migration[4.2] def up Organization.all.each do |org| if org.anonymous_provider.nil? Katello::Provider.create!(:name => Katello::Provider::ANONYMOUS, :provider_type => Katello::Provider::ANONYMOUS, :organization => org) end end end end
Version data entries
195 entries across 195 versions & 1 rubygems