Sha256: 37f9a4164d42f6f4e6e7f9897dc836f393daae529b749ea15fa26eccf60692d6

Contents?: true

Size: 1.12 KB

Versions: 3

Compression:

Stored size: 1.12 KB

Contents

class AddBootcFactsToContentFacet < ActiveRecord::Migration[6.1]
  def change
    add_column :katello_content_facets, :bootc_booted_image, :string
    add_column :katello_content_facets, :bootc_booted_digest, :string

    add_column :katello_content_facets, :bootc_available_image, :string
    add_column :katello_content_facets, :bootc_available_digest, :string

    add_column :katello_content_facets, :bootc_staged_image, :string
    add_column :katello_content_facets, :bootc_staged_digest, :string

    add_column :katello_content_facets, :bootc_rollback_image, :string
    add_column :katello_content_facets, :bootc_rollback_digest, :string

    add_index :katello_content_facets, :bootc_booted_image
    add_index :katello_content_facets, :bootc_booted_digest

    add_index :katello_content_facets, :bootc_available_image
    add_index :katello_content_facets, :bootc_available_digest

    add_index :katello_content_facets, :bootc_staged_image
    add_index :katello_content_facets, :bootc_staged_digest

    add_index :katello_content_facets, :bootc_rollback_image
    add_index :katello_content_facets, :bootc_rollback_digest
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katello-4.15.0 db/migrate/20241007212705_add_bootc_facts_to_content_facet.rb
katello-4.15.0.rc2 db/migrate/20241007212705_add_bootc_facts_to_content_facet.rb
katello-4.15.0.rc1 db/migrate/20241007212705_add_bootc_facts_to_content_facet.rb