PrismaP
Prisma15mo ago
2 replies
Super Sang

Problem with array of strings on Postgres

I have model where I need to store array of strings, it uses Postgresql and the migration also see as
TEXT[]
, but when I create the record, it say unknown.

Unknown argument `attachments`. Available options are marked with ?.


Please help.

Prisma: 5.21.1
Postgres: 16
Node: 20.12
Screenshot_2024-11-10_at_12.34.24.png
Screenshot_2024-11-10_at_12.37.16.png
Was this page helpful?