Can't use direct connection
When i use the pooler connection npx prisma db pull works fine but when i try to do npx prisma migrate dev i get Error: P3006
Migration
Can't reach database server at
Please make sure your database server is running at
Migration
0_init failed to apply cleanly to the shadow database. Then I learned that i should use direct connection for migraitons and i added directURl in schema.prisma and in the env file but i get Error: P1001Can't reach database server at
db.znyjdqnxiypbaowydsgr.supabase.co:5432Please make sure your database server is running at
db.znyjdqnxiypbaowydsgr.supabase.co:5432. Please help me if you know what could cause the issue. Thanks.