diff options
Diffstat (limited to 'db/migrate/20230109095622_rename_web_hook_calls_to_web_hook_calls_high.rb')
-rw-r--r-- | db/migrate/20230109095622_rename_web_hook_calls_to_web_hook_calls_high.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20230109095622_rename_web_hook_calls_to_web_hook_calls_high.rb b/db/migrate/20230109095622_rename_web_hook_calls_to_web_hook_calls_high.rb new file mode 100644 index 00000000000..d3a461b3abb --- /dev/null +++ b/db/migrate/20230109095622_rename_web_hook_calls_to_web_hook_calls_high.rb @@ -0,0 +1,13 @@ +# 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 |