Disable statement timeout

This commit is contained in:
Bob Van Landuyt 2017-06-21 15:37:21 +02:00 committed by Bob Van Landuyt
parent 66ba0b0a34
commit 79cdacc5d4

View file

@ -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