Data is not showing in table
schema.prisma file.
prismadb.ts file
Error on browser console
8 Replies
Hey @astronaut 👋
Are you using multiple
schema.prisma
files?
In the schema file that you shared, the url points to DATABASE_URL
but in the error message, the url points to DIRECT_URL
.
What variable have you defined in the .env
file? Is it DATABASE_URL
or DIRECT_URL
?DATABASE_URL I used but yesterday I tried DIRECT_URL then I changed it again to DATABASE_URL.
no only 1, which I shared
it stuck here not going further
I want to create database name with image editor but its my project name and created with schema public in supabase, why ?
it seems like its working??
wherre is the issue
see cursor, its not going forward like showing successfully generated or something like that.
It stuck there
@Nurul for your reference see this
https://github.com/prisma/prisma/issues/17338
GitHub
npx prisma migrate dev hangs up · Issue #17338 · prisma/prisma
Bug description When running the command npx prisma migrate dev, it hands up after returning the following message: Environment variables loaded from .env Prisma schema loaded from prisma/schema.pr...
Stack Overflow
Prisma migrate command gets stuck
I am trying to use Prisma with a local instance of Supabase running on docker. I created a very basic model inside prisma/schema.prisma file:
// This is your Prisma schema file,
// learn more about...