debian-mirror-gitlab/db/migrate/20180424160449_add_pipeline_iid_to_ci_pipelines.rb
2019-02-15 15:39:39 +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