gitlab-org--gitlab-foss/db/migrate/20190905223800_add_interruptible_to_builds_metadata.rb
Cédric Tabin e195e48638 New interruptible attribute supported in YAML parsing.
Since it is not possible to dynamically detect if a job is automatically
cancellable or not, a this new attribute is necessary. Moreover, it let
the maintainer of the repo to adjust the behaviour of the auto cancellation
feature to match exactly what he needs.
2019-09-05 14:50:39 +00:00

9 lines
205 B
Ruby

# frozen_string_literal: true
class AddInterruptibleToBuildsMetadata < ActiveRecord::Migration[5.0]
DOWNTIME = false
def change
add_column :ci_builds_metadata, :interruptible, :boolean
end
end