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