debian-mirror-gitlab/db/migrate/20180424160449_add_pipeline_iid_to_ci_pipelines.rb
2019-01-03 12:48:30 +05:30

14 lines
256 B
Ruby

class AddPipelineIidToCiPipelines < ActiveRecord::Migration
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