summaryrefslogtreecommitdiff
path: root/db/post_migrate/20211011152701_cleanup_delete_orphaned_deployments_background_migration.rb
blob: 82a0b1ac9c84c342a708c1379c9b730c9db5df6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class CleanupDeleteOrphanedDeploymentsBackgroundMigration < Gitlab::Database::Migration[1.0]
  MIGRATION = 'DeleteOrphanedDeployments'

  disable_ddl_transaction!

  def up
    finalize_background_migration(MIGRATION)
  end

  def down
    # no-op
  end
end