debian-mirror-gitlab/db/migrate/20230109095622_rename_web_hook_calls_to_web_hook_calls_high.rb
2023-04-23 21:23:45 +05:30

14 lines
345 B
Ruby

# frozen_string_literal: true
class RenameWebHookCallsToWebHookCallsHigh < Gitlab::Database::Migration[2.1]
disable_ddl_transaction!
def up
rename_column_concurrently :plan_limits, :web_hook_calls, :web_hook_calls_high
end
def down
undo_rename_column_concurrently :plan_limits, :web_hook_calls, :web_hook_calls_high
end
end