Type 'string[]' is not assignable to type 'string'.ts(2322) when trying to create a form using Prism
Type 'string[]' is not assignable to type 'string'.ts(2322)
I know this comes from my schema.prisma, because upon reading the docs, on Scalar https://www.prisma.io/docs/orm/reference/prisma-schema-reference#-modifier
...Strange @relation fields in auto-generated models
[email protected]
, I ran npx prisma db pull
to generate models for an existing SQLite database.
It generated these models:
```
model chapters {...I feel this is simple but I fear i've just been at it too long I'm starting to not see straight.
findMany query is failing as it's breaching planetscale's 100k limit but rawquery is working fine
Pulse listening to all schemas in my RDS instance
How to avoid resetting the DB when switching between branches with schema diffs
Deploy on GCP
The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information.
However, I did what was necessary regarding environment variables, here is my entry point in NestJS : ...mysql table collation
utf8mb4_0900_as_ci
because i need case insensitivity but accent sensitivity. I noticed the default collation set by prisma is utf8mb4_unicode_ci
. is it safe for me to manually change to the collation i need without breaking anything in Prisma? Or is there a way to have prisma set a specific collation for new tables?Reason why relation is giving an error when id is provided
``
2024-05-01 23:58:55 Invalid
prisma.entryAlternativeTitle.create()` invocation:
2024-05-01 23:58:55
2024-05-01 23:58:55 {...Temporary table support?
No models defined
Pulse import not recognized / types not working in Next.js project

Error with correct Model
TS2353: Object literal may only specify known properties, and 'canal' does not exist in type 'PostSelect<DefaultArgs>'
and error (it's lower)
```ts
// My piece of code
const customId = "15"...output
in my schemePrisma throws an error with code 2F005
Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(PostgresError { code: "2F005", message: "control reached end of trigger procedure without RETURN", severity: "ERROR", detail: None, column: None, hint: None }), transient: false })
...Error on prisma Client
invalid invocation prisma.paypal.findMany()
Prisma Query
Prisma stores invalid data
229368888486395905
, when prisma stores the number, it is different to what my id is! This is what it stores: 229368888486395900
MTI key relation