Commit 3b0eeccc authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add not null constraint to run untagged runner option

parent b8cf2a34
......@@ -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
......@@ -269,7 +269,7 @@
t.string "revision"
t.string "platform"
t.string "architecture"
t.boolean "run_untagged", default: true
t.boolean "run_untagged", default: true, null: false
add_index "ci_runners", ["description"], name: "index_ci_runners_on_description_trigram", using: :gin, opclasses: {"description"=>"gin_trgm_ops"}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment