#757: set default value for "auto_create_container" field

This commit is contained in:
Vokhmin Alexey V 2013-02-19 21:19:56 +04:00
parent c4ba71928f
commit ec35007b11
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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