From ec35007b11fefdc822f8222e68acd63c68a5ec86 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Tue, 19 Feb 2013 21:19:56 +0400 Subject: [PATCH] #757: set default value for "auto_create_container" field --- ...35847_add_extra_repositories_and_containers_to_build_list.rb | 2 +- db/schema.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/20130218135847_add_extra_repositories_and_containers_to_build_list.rb b/db/migrate/20130218135847_add_extra_repositories_and_containers_to_build_list.rb index 7e5a417cc..c400bb8cb 100644 --- a/db/migrate/20130218135847_add_extra_repositories_and_containers_to_build_list.rb +++ b/db/migrate/20130218135847_add_extra_repositories_and_containers_to_build_list.rb @@ -1,6 +1,6 @@ class AddExtraRepositoriesAndContainersToBuildList < ActiveRecord::Migration def change - add_column :build_lists, :auto_create_container, :boolean + add_column :build_lists, :auto_create_container, :boolean, :default => false add_column :build_lists, :extra_repositories, :text add_column :build_lists, :extra_containers, :text end diff --git a/db/schema.rb b/db/schema.rb index e083402bc..d96a71faf 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -134,7 +134,7 @@ ActiveRecord::Schema.define(:version => 20130218135847) do t.string "last_published_commit_hash" t.integer "container_status" t.boolean "use_save_to_repository", :default => true - t.boolean "auto_create_container" + t.boolean "auto_create_container", :default => false t.text "extra_repositories" t.text "extra_containers" end