debian-mirror-gitlab/db/migrate/20180424160449_add_pipeline_iid_to_ci_pipelines.rb
2018-12-23 12:14:25 +05:30

14 lines
261 B
Ruby

class AddPipelineIidToCiPipelines < ActiveRecord::Migration[4.2]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
add_column :ci_pipelines, :iid, :integer
end
def down
remove_column :ci_pipelines, :iid, :integer
end
end