Add not null constraint to run untagged runner option
This commit is contained in:
parent
b8cf2a340b
commit
3b0eeccc03
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -269,7 +269,7 @@ ActiveRecord::Schema.define(version: 20160509201028) do
|
|||
t.string "revision"
|
||||
t.string "platform"
|
||||
t.string "architecture"
|
||||
t.boolean "run_untagged", default: true
|
||||
t.boolean "run_untagged", default: true, null: false
|
||||
end
|
||||
|
||||
add_index "ci_runners", ["description"], name: "index_ci_runners_on_description_trigram", using: :gin, opclasses: {"description"=>"gin_trgm_ops"}
|
||||
|
|
Loading…
Reference in a new issue