debian-mirror-gitlab/db/post_migrate/20211011152701_cleanup_delete_orphaned_deployments_background_migration.rb

16 lines
289 B
Ruby
Raw Normal View History

2021-11-18 22:05:49 +05:30
# 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