Sha256: c5c111ff4eb1230204e5fa7f96b3baafb0f60b33f2d009ad99c9fe3ae1a4e06d

Contents?: true

Size: 271 Bytes

Versions: 197

Compression:

Stored size: 271 Bytes

Contents

class AddDefaultValueToAutoAttach < ActiveRecord::Migration[4.2]
  def up
    change_column :katello_activation_keys, :auto_attach, :boolean, :default => true
  end

  def down
    change_column :katello_activation_keys, :auto_attach, :boolean, :default => nil
  end
end

Version data entries

197 entries across 197 versions & 1 rubygems

Version Path
katello-3.16.0.rc1.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.15.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.16.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.15.0.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.15.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.15.0.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.15.0.rc1.3 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.15.0.rc1.2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.15.0.rc1.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.15.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.14.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.13.4 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.14.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.13.3 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.14.0.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.13.2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.14.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.13.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.13.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.13.0.rc2.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb