debian-mirror-gitlab/db/post_migrate/20220831090454_cleanup_web_hooks_service_id.rb
2022-11-25 23:54:43 +05:30

14 lines
323 B
Ruby

# frozen_string_literal: true
class CleanupWebHooksServiceId < Gitlab::Database::Migration[2.0]
disable_ddl_transaction!
def up
cleanup_concurrent_column_rename :web_hooks, :service_id, :integration_id
end
def down
undo_cleanup_concurrent_column_rename :web_hooks, :service_id, :integration_id
end
end