Sha256: 67c6bb45d0cbe3cfa5cd827aa5511c0d2b17ee8cfcb05067deff826a42a7916e
Contents?: true
Size: 308 Bytes
Versions: 42
Compression:
Stored size: 308 Bytes
Contents
class EnsureRepoUsernamePasswordNilNotBlank < ActiveRecord::Migration[6.1] def change ::Katello::Repository.library.each do |repo| if repo.upstream_username == '' && repo.upstream_password == '' repo.root.update(upstream_username: nil, upstream_password: nil) end end end end
Version data entries
42 entries across 42 versions & 1 rubygems