20 lines
365 B
Ruby
20 lines
365 B
Ruby
![]() |
# frozen_string_literal: true
|
||
|
|
||
|
class RemoveCiJobArtifactsLocked < ActiveRecord::Migration[6.0]
|
||
|
include Gitlab::Database::MigrationHelpers
|
||
|
|
||
|
DOWNTIME = false
|
||
|
|
||
|
def up
|
||
|
with_lock_retries do
|
||
|
remove_column :ci_job_artifacts, :locked
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
with_lock_retries do
|
||
|
add_column :ci_job_artifacts, :locked, :boolean
|
||
|
end
|
||
|
end
|
||
|
end
|