diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-21 17:24:44 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 23:49:10 +0900 |
commit | eda34b1a1846a5d5b55cc127a32b0c7628580f25 (patch) | |
tree | f4400330322a6104e5f04356ac04e8eea56559cc /db/migrate | |
parent | e1ef436d1fd6419ce8a08c4ac33bf664786c80b0 (diff) | |
download | gitlab-ce-eda34b1a1846a5d5b55cc127a32b0c7628580f25.tar.gz |
Add spec. Fix runner setting page. It worked.
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20170816133938_add_access_level_to_ci_runners.rb | 4 |
1 files changed, 2 insertions, 2 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 58317d46eac..cb8d023e439 100644 --- a/db/migrate/20170816133938_add_access_level_to_ci_runners.rb +++ b/db/migrate/20170816133938_add_access_level_to_ci_runners.rb @@ -6,8 +6,8 @@ class AddAccessLevelToCiRunners < ActiveRecord::Migration disable_ddl_transaction! def up - # Ci::Runner.unprotected: 0 - add_column_with_default(:ci_runners, :access_level, :integer, default: 0) + add_column_with_default(:ci_runners, :access_level, :integer, + default: Ci::Runner.access_levels['unprotected']) end def down |