Commit 79cdacc5 authored by Bob Van Landuyt's avatar Bob Van Landuyt Committed by Bob Van Landuyt

Disable statement timeout

parent 66ba0b0a
...@@ -98,12 +98,16 @@ class RenameAllReservedPathsAgain < ActiveRecord::Migration ...@@ -98,12 +98,16 @@ class RenameAllReservedPathsAgain < ActiveRecord::Migration
].freeze ].freeze
def up def up
disable_statement_timeout
TOP_LEVEL_ROUTES.each { |route| rename_root_paths(route) } TOP_LEVEL_ROUTES.each { |route| rename_root_paths(route) }
PROJECT_WILDCARD_ROUTES.each { |route| rename_wildcard_paths(route) } PROJECT_WILDCARD_ROUTES.each { |route| rename_wildcard_paths(route) }
GROUP_ROUTES.each { |route| rename_child_paths(route) } GROUP_ROUTES.each { |route| rename_child_paths(route) }
end end
def down def down
disable_statement_timeout
revert_renames revert_renames
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment