使用 Nuxt、Prisma、Supabase 迁移错误

问题描述 投票:0回答:1
npx prisma migrate status

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-0-ap-southeast-1.pooler.supabase.com:6543"
Error: Schema engine error:
ERROR: prepared statement "s0" does not exist

这个结果应该已经出来了:

Your database is now in sync with your schema.
vue.js nuxt.js prisma supabase
1个回答
0
投票

使用 supavisor 时,您需要在连接字符串上添加

?pgbouncer=true
,按照 本指南

© www.soinside.com 2019 - 2024. All rights reserved.