Sha256: 90be5baa1afb2db2fb9ff4c4b8f9018215edb8be1b0d78db8ed7fca2d21db6e7
Contents?: true
Size: 679 Bytes
Versions: 101
Compression:
Stored size: 679 Bytes
Contents
class AddTypeAndFromCvvToCvvExportHistory < ActiveRecord::Migration[6.0] def change add_column :katello_content_view_version_export_histories, :export_type, :string, :default => ::Katello::ContentViewVersionExportHistory::COMPLETE, :null => false add_index :katello_content_view_version_export_histories, :export_type, name: 'katello_cvveh_export_type' ::Katello::ContentViewVersionExportHistory.reset_column_information ::Katello::ContentViewVersionExportHistory.all.each do |cvve| next if cvve.export_type == cvve.export_type_from_metadata cvve.update!(export_type: cvve.export_type_from_metadata) end end end
Version data entries
101 entries across 101 versions & 1 rubygems