From 5e3a208f58a7a887370888055da180f64b3692a3 Mon Sep 17 00:00:00 2001 From: George Koltsov Date: Thu, 1 Aug 2019 14:22:54 +0100 Subject: Add backwards compatibility for legacy setting `allow_local_requests_for_hooks_and_services` was renamed to `allow_local_requests_for_web_hooks_and_services`. --- ...local_requests_from_hooks_and_services_application_setting_rename.rb | 2 ++ db/schema.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'db') 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" -- cgit v1.2.1