Sha256: 41de1380a4e1c94ae15eaf35c0ac343d7d75f682f8a331452c7adb535ccd3730

Contents?: true

Size: 455 Bytes

Versions: 191

Compression:

Stored size: 455 Bytes

Contents

class AddRegistryNamePatternToEnvironment < ActiveRecord::Migration[5.1]
  def up
    add_column(:katello_environments, :registry_name_pattern, :string, limit: 255, null: true)
    change_column(:katello_repositories, :container_repository_name, :string, unique: true)
  end

  def down
    remove_column(:katello_environments, :registry_name_pattern)
    change_column(:katello_repositories, :container_repository_name, :string, unique: false)
  end
end

Version data entries

191 entries across 191 versions & 1 rubygems

Version Path
katello-4.14.2 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.15.0 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.15.0.rc2 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.15.0.rc1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.14.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.14.0 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.14.0.rc3 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.14.0.rc2 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.14.0.rc1.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.14.0.rc1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.13.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.13.0 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.12.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.13.0.rc1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.12.0 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.12.0.rc3 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.12.0.rc2 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.12.0.rc1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.11.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.11.0 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb