I know this was a while ago but the fix is to first make a change in your schema.prisma file. Add whatever changes you need. Then run the command you are running. It will then notice the changes you made on the file and generate the SQL needed to achieve that change. Hope this helps.
how to generate a migration file with prisma - Stack Overflow
npx prisma migrate dev --name init from tutorial not working
`npx prisma migrate dev --name init` fails in starter project
Command `npx prisma migrate dev` failing with no error messages
I know this was a while ago but the fix is to first make a change in your schema.prisma file. Add whatever changes you need. Then run the command you are running. It will then notice the changes you made on the file and generate the SQL needed to achieve that change. Hope this helps.
Are you trying to do an empty migration? Try using
prisma migrate dev --create-only
doc
According to the Docs.
To get the Session connection pooler string, change the port to 5432. If your database is Postgres 14 and above, it will look like this
postgres://[db-user].[project-ref]:[db-password]@aws-0-[aws-region].pooler.supabase.com:5432/[db-name]
By default Supabase provides port at 6543, after changing the port to 5432 my problem solved.
Changing the default port to 5432 worked for me. Give it a shot!