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-3.12.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.11.2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.10.2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.12.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.12.0.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.10.1.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.12.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.10.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.11.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.11.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.11.0.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.11.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.10.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.10.0.rc1.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.9.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.10.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.9.0 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.8.1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.9.0.rc2 db/migrate/20141204203609_add_default_value_to_auto_attach.rb
katello-3.9.0.rc1 db/migrate/20141204203609_add_default_value_to_auto_attach.rb