gitlab-org--gitlab-foss/db/migrate/20170831092813_add_config_source_to_pipelines.rb
Zeger-Jan van de Weg 35b9213cd7
Add config_source to ci_pipelines
Given the user can soon have multiple config sources for CI, we now store
what type at the time of the pipeline run we chose. This will give us
insight into what triggered the new pipeline so we can display it to the
enduser.
2017-08-31 22:25:26 +02:00

7 lines
176 B
Ruby

class AddConfigSourceToPipelines < ActiveRecord::Migration
DOWNTIME = false
def change
add_column(:ci_pipelines, :config_source, :integer, allow_null: true)
end
end