diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2017-06-21 16:37:21 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-06-26 18:49:30 +0300 |
commit | 79cdacc5d464cfb47076efe27e3d6ffe32ff1dad (patch) | |
tree | dc4b2fa79fc682a295c0ea687740af9001caacb9 /db/post_migrate | |
parent | 66ba0b0a3444eb5063803df316be1cd14e3ef605 (diff) |
Disable statement timeout
Diffstat (limited to 'db/post_migrate')
-rw-r--r-- | db/post_migrate/20170525140254_rename_all_reserved_paths_again.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db/post_migrate/20170525140254_rename_all_reserved_paths_again.rb b/db/post_migrate/20170525140254_rename_all_reserved_paths_again.rb index 9ec59913b66..9441b236c8d 100644 --- a/db/post_migrate/20170525140254_rename_all_reserved_paths_again.rb +++ b/db/post_migrate/20170525140254_rename_all_reserved_paths_again.rb @@ -98,12 +98,16 @@ class RenameAllReservedPathsAgain < ActiveRecord::Migration ].freeze def up + disable_statement_timeout + TOP_LEVEL_ROUTES.each { |route| rename_root_paths(route) } PROJECT_WILDCARD_ROUTES.each { |route| rename_wildcard_paths(route) } GROUP_ROUTES.each { |route| rename_child_paths(route) } end def down + disable_statement_timeout + revert_renames end end |