summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-18 08:13:16 -0400
committerKamil Trzcinski <ayufan@ayufan.eu>2016-04-29 16:45:00 +0200
commitf41a3e24d20b26b53c5321571ef89f441c32aa4d (patch)
tree2122f78aa2bda74e3a1287306eaba41798465079 /db
parentbfc6a0e3718c1b4d5e3d2adcc1ef16cf5274df5c (diff)
downloadgitlab-ce-f41a3e24d20b26b53c5321571ef89f441c32aa4d.tar.gz
Added authentication service for docker registry
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160407120251_add_images_enabled_for_project.rb5
-rw-r--r--db/schema.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20160407120251_add_images_enabled_for_project.rb b/db/migrate/20160407120251_add_images_enabled_for_project.rb
new file mode 100644
index 00000000000..6a221a7fb03
--- /dev/null
+++ b/db/migrate/20160407120251_add_images_enabled_for_project.rb
@@ -0,0 +1,5 @@
+class AddImagesEnabledForProject < ActiveRecord::Migration
+ def change
+ add_column :projects, :images_enabled, :boolean
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 42457d92353..bf46028d23f 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -760,6 +760,7 @@ ActiveRecord::Schema.define(version: 20160421130527) do
t.integer "pushes_since_gc", default: 0
t.boolean "last_repository_check_failed"
t.datetime "last_repository_check_at"
+ t.boolean "images_enabled"
end
add_index "projects", ["builds_enabled", "shared_runners_enabled"], name: "index_projects_on_builds_enabled_and_shared_runners_enabled", using: :btree