diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-07 20:23:36 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-19 22:01:53 +0200 |
commit | 3b0eeccc0324e2d6c024fd94067933314e45b862 (patch) | |
tree | 34b9ed23fc05b5de460b7f91b3f4fcf4360bda5f /db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb | |
parent | b8cf2a340b3c56eb7e226473034ead2c4e5d609a (diff) | |
download | gitlab-ce-3b0eeccc0324e2d6c024fd94067933314e45b862.tar.gz |
Add not null constraint to run untagged runner option
Diffstat (limited to 'db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb')
-rw-r--r-- | db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb b/db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb index 38fee17f904..c6753f2b398 100644 --- a/db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb +++ b/db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb @@ -6,6 +6,6 @@ class AddRunUntaggedToCiRunner < ActiveRecord::Migration # caused by the default value. # def change - add_column :ci_runners, :run_untagged, :boolean, default: true + add_column :ci_runners, :run_untagged, :boolean, default: true, null: false end end |