Sha256: c5c111ff4eb1230204e5fa7f96b3baafb0f60b33f2d009ad99c9fe3ae1a4e06d

Contents?: true

Size: 271 Bytes

Versions: 193

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

193 entries across 193 versions & 1 rubygems

Version Path
katello-4.3.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.4.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.4.0.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.4.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.2.2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.3.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.3.0.rc4 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.3.0.rc3 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.3.0.rc2.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.3.0.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.3.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.2.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.2.0.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.1.4 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.0.3 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.2.0.1.rc3 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.18.5 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.2.0.1.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.2.0.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.1.3 db/migrate/20141204203609_add_default_value_to_auto_attach.rb