debian-mirror-gitlab/db/migrate/20180424160449_add_pipeline_iid_to_ci_pipelines.rb
2018-11-08 19:23:39 +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