FIX: rake db:validate_indexes was broken (#12463)

A file was moved, but zeitwerk can not find it due to custom inflection.

Renamed so it can be properly found.
This commit is contained in:
Sam
2021-03-24 08:53:01 +11:00
committed by GitHub
parent c47f403dd9
commit dc6b547ed8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ end
desc 'Validate indexes'
task 'db:validate_indexes', [:arg] => ['db:ensure_post_migrations', 'environment'] do |_, args|
db = TemporaryDB.new
db = TemporaryDb.new
db.start
ActiveRecord::Base.establish_connection(
+1 -1
View File
@@ -1,6 +1,6 @@
# frozen_string_literal: true
class TemporaryDB
class TemporaryDb
PG_TEMP_PATH = "/tmp/pg_schema_tmp"
PG_CONF = "#{PG_TEMP_PATH}/postgresql.conf"
PG_SOCK_PATH = "#{PG_TEMP_PATH}/sockets"