diff options
author | Reuben Pereira <rpereira@gitlab.com> | 2019-08-25 20:14:52 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-08-25 20:14:52 +0000 |
commit | f855f9b8158f80cd227e054337f64760d8f841a0 (patch) | |
tree | b3803ff03f93c1642197538218ea1f0b80779d20 /db/migrate | |
parent | 8112fb37544557b3f94c0a558175d5da99ef9829 (diff) | |
download | gitlab-ce-f855f9b8158f80cd227e054337f64760d8f841a0.tar.gz |
Add helper to exactly undo cleanup_concurrent_column_rename
- Also add helper to undo rename_column_concurrently.
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190726101050_rename_allow_local_requests_from_hooks_and_services_application_setting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20190726101050_rename_allow_local_requests_from_hooks_and_services_application_setting.rb b/db/migrate/20190726101050_rename_allow_local_requests_from_hooks_and_services_application_setting.rb index ac65e8d745c..cce8942128c 100644 --- a/db/migrate/20190726101050_rename_allow_local_requests_from_hooks_and_services_application_setting.rb +++ b/db/migrate/20190726101050_rename_allow_local_requests_from_hooks_and_services_application_setting.rb @@ -12,6 +12,6 @@ class RenameAllowLocalRequestsFromHooksAndServicesApplicationSetting < ActiveRec end def down - cleanup_concurrent_column_rename :application_settings, :allow_local_requests_from_web_hooks_and_services, :allow_local_requests_from_hooks_and_services + undo_rename_column_concurrently :application_settings, :allow_local_requests_from_hooks_and_services, :allow_local_requests_from_web_hooks_and_services end end |