Add runner db field for ability to run untagged jobs
This commit is contained in:
parent
e4a1af8353
commit
d0032935a1
|
@ -0,0 +1,11 @@
|
|||
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
|
|||
t.string "revision"
|
||||
t.string "platform"
|
||||
t.string "architecture"
|
||||
t.boolean "run_untagged", default: true
|
||||
end
|
||||
|
||||
add_index "ci_runners", ["description"], name: "index_ci_runners_on_description_trigram", using: :gin, opclasses: {"description"=>"gin_trgm_ops"}
|
||||
|
|
Loading…
Reference in New Issue