Sha256: 44caf353b1f33d91465de6d92db2d9a428e5fbde0be73e9c006a60e6adb5b15c
Contents?: true
Size: 519 Bytes
Versions: 54
Compression:
Stored size: 519 Bytes
Contents
class AddGeneratedForToContentViews < ActiveRecord::Migration[6.0] def change add_column :katello_content_views, :generated_for, :integer, :default => 0, :null => false ::Katello::ContentView.reset_column_information ::Katello::ContentView. where(label: ::Katello::ContentView::IMPORT_LIBRARY). update(generated_for: :library_import) ::Katello::ContentView. where('label like ?', "#{::Katello::ContentView::EXPORT_LIBRARY}%"). update(generated_for: :library_export) end end
Version data entries
54 entries across 54 versions & 1 rubygems