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 ...@@ -6,6 +6,6 @@ class AddRunUntaggedToCiRunner < ActiveRecord::Migration
# caused by the default value. # caused by the default value.
# #
def change def change
add_column :ci_runners, :run_untagged, :boolean, default: true add_column :ci_runners, :run_untagged, :boolean, default: true, null: false
end end
end end
...@@ -269,7 +269,7 @@ ActiveRecord::Schema.define(version: 20160509201028) do ...@@ -269,7 +269,7 @@ ActiveRecord::Schema.define(version: 20160509201028) do
t.string "revision" t.string "revision"
t.string "platform" t.string "platform"
t.string "architecture" t.string "architecture"
t.boolean "run_untagged", default: true t.boolean "run_untagged", default: true, null: false
end end
add_index "ci_runners", ["description"], name: "index_ci_runners_on_description_trigram", using: :gin, opclasses: {"description"=>"gin_trgm_ops"} 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