diff options
author | George Koltsov <gkoltsov@gitlab.com> | 2019-08-01 14:22:54 +0100 |
---|---|---|
committer | George Koltsov <gkoltsov@gitlab.com> | 2019-08-02 15:39:18 +0100 |
commit | 5e3a208f58a7a887370888055da180f64b3692a3 (patch) | |
tree | dbf3bed610be70009b0d7be86cf7665800cf2125 /db | |
parent | 8abf920d1f55e9117dd3b05d81ee9ebf7721f2bd (diff) | |
download | gitlab-ce-5e3a208f58a7a887370888055da180f64b3692a3.tar.gz |
Add backwards compatibility for legacy setting
`allow_local_requests_for_hooks_and_services` was renamed to
`allow_local_requests_for_web_hooks_and_services`.
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20190801114109_cleanup_allow_local_requests_from_hooks_and_services_application_setting_rename.rb | 2 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/db/post_migrate/20190801114109_cleanup_allow_local_requests_from_hooks_and_services_application_setting_rename.rb b/db/post_migrate/20190801114109_cleanup_allow_local_requests_from_hooks_and_services_application_setting_rename.rb index 397d3bce60a..127e44254ac 100644 --- a/db/post_migrate/20190801114109_cleanup_allow_local_requests_from_hooks_and_services_application_setting_rename.rb +++ b/db/post_migrate/20190801114109_cleanup_allow_local_requests_from_hooks_and_services_application_setting_rename.rb @@ -5,6 +5,8 @@ class CleanupAllowLocalRequestsFromHooksAndServicesApplicationSettingRename < Ac DOWNTIME = false + disable_ddl_transaction! + def up cleanup_concurrent_column_rename :application_settings, :allow_local_requests_from_hooks_and_services, :allow_local_requests_from_web_hooks_and_services end diff --git a/db/schema.rb b/db/schema.rb index c88fe55277e..fe3fa597006 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2019_07_31_084415) do +ActiveRecord::Schema.define(version: 2019_08_01_114109) do # These are extensions that must be enabled in order to support this database enable_extension "pg_trgm" |