Can't connect to Postgres DB inside another docker container

This query is something automatically generated by Sequelize. But I can’t find any issues related to that. Could you please share a full record result with all columns of that subquery comment so I can investigate what is going on ? I don’t have the issue on my side.

Out of curiosity, do you have multiple schemas with the same tables ?