debian-mirror-gitlab/db/post_migrate/20220531024142_track_clusters_deletions.rb

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

16 lines
304 B
Ruby
Raw Normal View History

2022-07-23 23:45:48 +05:30
# frozen_string_literal: true
class TrackClustersDeletions < Gitlab::Database::Migration[2.0]
include Gitlab::Database::MigrationHelpers::LooseForeignKeyHelpers
enable_lock_retries!
def up
track_record_deletions(:clusters)
end
def down
untrack_record_deletions(:clusters)
end
end