Resolved this error by manually creating a prisma ...
# orm-help
a
Resolved this error by manually creating a prisma file with this as one line in Serverless PG. But, this is really painful and kinda silly. Doesn't prisma support down to PG 9? I wouldn't expect this to happen ALTER TYPE ... ADD cannot be executed from a function or multi-command string
r
@aniraga 👋 Didn’t quite get your question. Could you elaborate a bit?
a
Basically - if you have an alter type...add in a file with multiple commands, prisma migrate will fail unless PG is version 12+
it definitely fails on pgsql in serverless-aurora
r
It would be great if you could create an issue here with the reproduction steps so that we can investigate this.