sid
sid
PPrisma
Created by sid on 12/16/2024 in #help-and-questions
Studio is not working with multifile schemas
I have created a folder schema and added the following code to the schema.prisma file
datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
}

generator client {
provider = "prisma-client-js"
previewFeatures = ["prismaSchemaFolder"]
}
datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
}

generator client {
provider = "prisma-client-js"
previewFeatures = ["prismaSchemaFolder"]
}
I can read from and write to the database, but when I run Prisma Studio, I get the following error: The table main.User does not exist in the current database.
10 replies