Commit 1527188c authored by Ruben Davila's avatar Ruben Davila

Fix a bad merge conflict

parent 0a6998d5
......@@ -87,7 +87,7 @@ module Gitlab
# the database. Disable the session's statement timeout to ensure
# migrations don't get killed prematurely. (PostgreSQL only)
def disable_statement_timeout
ActiveRecord::Base.connection.execute('SET statement_timeout TO 0') if Database.postgresql?
execute('SET statement_timeout TO 0') if Database.postgresql?
end
# Updates the value of a column in batches.
......
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