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.2.0.rc2 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.1.3 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.2.0.rc1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.0.2.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.1.2.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.0.2 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.1.2 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-3.18.4 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.1.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.1.0 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.0.1.2 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-3.18.3.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.1.0.rc2.2 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.1.0.rc2.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.0.1.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-3.18.3 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.1.0.rc2 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.0.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.1.0.rc1.1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb
katello-4.1.0.rc1 db/migrate/20180323175122_add_registry_name_pattern_to_environment.rb