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:
parent
c47f403dd9
commit
dc6b547ed8
|
@ -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,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"
|
||||
|
|
Loading…
Reference in New Issue