diff --git a/db/migrate/20140512091135_disable_use_cached_chroot_by_default.rb b/db/migrate/20140512091135_disable_use_cached_chroot_by_default.rb new file mode 100644 index 000000000..93e8b64c6 --- /dev/null +++ b/db/migrate/20140512091135_disable_use_cached_chroot_by_default.rb @@ -0,0 +1,9 @@ +class DisableUseCachedChrootByDefault < ActiveRecord::Migration + def up + change_column :build_lists, :use_cached_chroot, :boolean, null: false, default: false + end + + def down + change_column :build_lists, :use_cached_chroot, :boolean, null: false, default: true + end +end diff --git a/db/schema.rb b/db/schema.rb index 13baa6f96..5d07c2dfc 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20140502160112) do +ActiveRecord::Schema.define(version: 20140512091135) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -140,7 +140,7 @@ ActiveRecord::Schema.define(version: 20140502160112) do t.integer "builder_id" t.boolean "include_testing_subrepository" t.string "auto_publish_status", default: "default", null: false - t.boolean "use_cached_chroot", default: true, null: false + t.boolean "use_cached_chroot", default: false, null: false t.index ["advisory_id"], :name => "index_build_lists_on_advisory_id" t.index ["arch_id"], :name => "index_build_lists_on_arch_id" t.index ["mass_build_id", "status"], :name => "index_build_lists_on_mass_build_id_and_status"