Commit d0032935 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add runner db field for ability to run untagged jobs

parent e4a1af83
class AddRunUntaggedToCiRunner < ActiveRecord::Migration
##
# Downtime expected!
#
# This migration will cause downtime due to exclusive lock
# caused by the default value.
#
def change
add_column :ci_runners, :run_untagged, :boolean, default: true
end
end
...@@ -269,6 +269,7 @@ ActiveRecord::Schema.define(version: 20160509201028) do ...@@ -269,6 +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
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