Sha256: 0d47485202d112c7c3506fa63ed27a3fb320b699d12ae01a77ced546c8cbab98

Contents?: true

Size: 420 Bytes

Versions: 195

Compression:

Stored size: 420 Bytes

Contents

class UpdateCompositeDefaultForContentView < ActiveRecord::Migration[4.2]
  class Katello::ContentView
  end

  def up
    change_column_null(:katello_content_views, :composite, false, false)
    change_column_default(:katello_content_views, :composite, false)
  end

  def down
    change_column_null(:katello_content_views, :composite, nil)
    change_column_default(:katello_content_views, :composite, nil)
  end
end

Version data entries

195 entries across 195 versions & 1 rubygems

Version Path
katello-3.9.0.rc2 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.9.0.rc1 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.7.1.1 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.7.1 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.8.0 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.8.0.rc3 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.8.0.rc2 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.7.0 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.8.0.rc1 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.7.0.rc2 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.7.0.rc1 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.6.0 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.6.0.1.rc2 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.6.0.rc2 db/migrate/20150507131145_update_composite_default_for_content_view.rb
katello-3.6.0.rc1 db/migrate/20150507131145_update_composite_default_for_content_view.rb