Rails.logger.warn"Index not removed because it does not exist (this may be due to an aborted migration or similar): table_name: #{table_name}, column_name: #{column_name}"# rubocop:disable Gitlab/RailsLogger
Rails.logger.warn"Index not removed because it does not exist (this may be due to an aborted migration or similar): table_name: #{table_name}, index_name: #{index_name}"# rubocop:disable Gitlab/RailsLogger
...
...
@@ -150,13 +146,6 @@ module Gitlab
end
end
# Only available on Postgresql >= 9.2
defsupports_drop_index_concurrently?
version=select_one("SELECT current_setting('server_version_num') AS v")['v'].to_i
version>=90200
end
# Adds a foreign key with only minimal locking on the tables involved.