e195e48638
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.
9 lines
205 B
Ruby
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
|