Sha256: 7e10fd072f06a080497bc0a3cb171cabd9a78e1060da05ea427f7584876285f3

Contents?: true

Size: 454 Bytes

Versions: 100

Compression:

Stored size: 454 Bytes

Contents

class AddAvailableModuleStreamContext < ActiveRecord::Migration[6.0]
  def change
    add_column :katello_available_module_streams, :context, :string, :null => true, :default => nil

    remove_index :katello_available_module_streams, name: :katello_available_module_streams_name_stream
    add_index :katello_available_module_streams, [:name, :stream, :context], :unique => true, :name => :katello_available_module_streams_name_stream_context
  end
end

Version data entries

100 entries across 100 versions & 1 rubygems

Version Path
katello-4.11.0.rc2 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.11.0.rc1 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.10.0 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.9.2 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.10.0.rc2 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.10.0.rc1 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.8.4 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.9.1 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.8.3 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.9.0 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.7.6 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.8.2 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.9.0.rc2 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.9.0.rc1 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.8.1 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.7.5 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.8.0 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.8.0.rc2 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.7.4 db/migrate/20210208213920_add_available_module_stream_context.rb
katello-4.8.0.rc1 db/migrate/20210208213920_add_available_module_stream_context.rb