Fallback to search_records_0, so eager loading has a valid table

This commit is contained in:
Donal McBreen
2025-11-21 15:35:58 +00:00
parent 0989017f62
commit d09deca038
+1 -1
View File
@@ -17,7 +17,7 @@ module Search::Record::Trilogy
if Current.account
"search_records_#{shard_id_for_account(Current.account.id)}"
else
"search_records"
"search_records_0"
end
end