summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-08-29 15:56:03 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:10 +0900
commit1024718e9fddbb0d61d3f64f44303964641fcdd8 (patch)
tree3eef4777a58c9d3e798827ca39e3a5fa0602088c /db
parent3875983205fd3cdbdc93f18b118deaf098d75af1 (diff)
downloadgitlab-ce-1024718e9fddbb0d61d3f64f44303964641fcdd8.tar.gz
Refactor access_level to not_protected and ref_protected
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170816133938_add_access_level_to_ci_runners.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20170816133938_add_access_level_to_ci_runners.rb b/db/migrate/20170816133938_add_access_level_to_ci_runners.rb
index cb8d023e439..fc484730f42 100644
--- a/db/migrate/20170816133938_add_access_level_to_ci_runners.rb
+++ b/db/migrate/20170816133938_add_access_level_to_ci_runners.rb
@@ -7,7 +7,7 @@ class AddAccessLevelToCiRunners < ActiveRecord::Migration
def up
add_column_with_default(:ci_runners, :access_level, :integer,
- default: Ci::Runner.access_levels['unprotected'])
+ default: Ci::Runner.access_levels['not_protected'])
end
def down