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.10.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.9.2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.10.0.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.10.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.8.4 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.9.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.8.3 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.9.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.7.6 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.8.2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.9.0.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.9.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.8.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.7.5 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.8.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.8.0.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.7.4 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.8.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.7.3 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-4.7.2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb