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