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
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-03-27 16:43:48 +0300
committerDouwe Maan <douwe@gitlab.com>2015-04-03 13:23:20 +0300
commitedc4a56d26792b5b5bac21f45948412675ad7ebb (patch)
tree5691320e58507e134a2f026f8f4e8054821edf50 /db/migrate
parent9157985cfce1391973673ea278dc7506a90f8f53 (diff)
Allow admin to create public deploy keys that are accessible to any project.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20150327122227_add_public_to_key.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20150327122227_add_public_to_key.rb b/db/migrate/20150327122227_add_public_to_key.rb
new file mode 100644
index 00000000000..6ffbf4cda19
--- /dev/null
+++ b/db/migrate/20150327122227_add_public_to_key.rb
@@ -0,0 +1,5 @@
+class AddPublicToKey < ActiveRecord::Migration
+ def change
+ add_column :keys, :public, :boolean, default: false, null: false
+ end
+end