You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Schema notation to not surface specific models in the Prisma Client API #5217
Prisma Client does not support models without a primary key. When introspecting such tables, these are commented out in the Prisma schema, which triggers Migrate to attempt to drop these tables.
We should add a specific notation in the Prisma schema, which allows us to have these models in the Prisma schema and use Migrate to modify these tables, without interfering with the Prisma Client API. While Client would not generate any type, developers could still use our raw client API methods to use these models in their applications.
changed the title [-]Schema notation to have not surface specific models present in the schema in the Prisma Client API[/-][+]Schema notation to not surface specific models in the Prisma Client API[/+]on Jan 21, 2021
Activity
[-]Schema notation to have not surface specific models present in the schema in the Prisma Client API[/-][+]Schema notation to not surface specific models in the Prisma Client API[/+]do4gr commentedon Feb 12, 2021
This is implemented in 2.17.