Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-02-09 20:13:58 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-02-09 20:13:58 +0300
commit7ea60fbfc872e5acc0cc444d442958990747c6b3 (patch)
treebd4a38293d5d03b5cf3842fab04562fe8b775739 /db
parenta52c5778bb9d95097cc965539731a2ef846c3ff0 (diff)
parent201fb4c7e3f9ab4265f87f548ae22bb4008015c9 (diff)
Merge remote-tracking branch 'dev/master' into 'master'
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160202164642_add_allow_guest_to_access_builds_project.rb5
-rw-r--r--db/schema.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20160202164642_add_allow_guest_to_access_builds_project.rb b/db/migrate/20160202164642_add_allow_guest_to_access_builds_project.rb
new file mode 100644
index 00000000000..793984343b4
--- /dev/null
+++ b/db/migrate/20160202164642_add_allow_guest_to_access_builds_project.rb
@@ -0,0 +1,5 @@
+class AddAllowGuestToAccessBuildsProject < ActiveRecord::Migration
+ def change
+ add_column :projects, :public_builds, :boolean, default: true, null: false
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 13bb3938490..689a8c3ecc5 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -681,6 +681,7 @@ ActiveRecord::Schema.define(version: 20160209130428) do
t.boolean "build_allow_git_fetch", default: true, null: false
t.integer "build_timeout", default: 3600, null: false
t.boolean "pending_delete", default: false
+ t.boolean "public_builds", default: true, null: false
end
add_index "projects", ["builds_enabled", "shared_runners_enabled"], name: "index_projects_on_builds_enabled_and_shared_runners_enabled", using: :btree