I'm trying to add a List to a model using String[] but it it gives me this error:
Field "stats" in model "Player" can't be a list.
The current connector does not support lists of primitive types.
Code:
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "sqlite"
url = "file:./db.db"
}
model Player {
id String @id @default(cuid())
stats String[]
}
Is there a way to do this?