Error when using "multiSchema" with custom database schema and implicit Many To Many relation #16761
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
tech/engines
Issue for tech Engines.
topic: implicit m:n
implicit many-to-many relations
topic: m:n
many-to-many relations
topic: multiSchema
multiple schemas
Milestone
Bug description
I coded a ManyToMany relationship between Organization and Repository entities, with the custom schema called "organization". However, when trying to connect a Repository in Organization, the following error occurs:
How to reproduce
The table
public._OrganizationToRepositorydoes not exist in the current database.
Expected behavior
The correct thing would be to use the "organization" schema. But, the "public" schema was used.
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: