debian-mirror-gitlab/db/post_migrate/20211027043229_track_ci_build_deletions.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
305 B
Ruby
Raw Normal View History

2022-01-26 12:08:38 +05:30
# frozen_string_literal: true
class TrackCiBuildDeletions < Gitlab::Database::Migration[1.0]
include Gitlab::Database::MigrationHelpers::LooseForeignKeyHelpers
enable_lock_retries!
def up
track_record_deletions(:ci_builds)
end
def down
untrack_record_deletions(:ci_builds)
end
end