valtyr/prisma-kysely

Support multi-file schemas

Closed this issue · 1 comments

Latest version of Prisma 5.15.0 now supports for multi-file schemas (https://www.prisma.io/blog/organize-your-prisma-schema-with-multi-file-support).

How it works is by adding previewFeatures = ["prismaSchemaFolder"] under generator client. It seems current version of prisma-kysely hasn't supported multi-file schemas yet.

It seems to already support the multi-file schemas. My bad! I didn't move the main schema.prisma file into the schema directory.