prisma cli push runs without error, but db on console.prisma.io not updating?
Has this been reported before?
I have followed instruction setup.
My schema.prisma file looks like this:
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model User {
id String @id @default(uuid())
email String
}
my .env has the auto generated
I first executed
I am not sure if this was correct but I had positive terminal output.
No changes in database dashboard.
Then I executed
Followed by the termianl output suggestion to run
Followed by one more execution of
My output always looks fine but still no changes in dashboard.
"You do not have any database models set up yet."
I do have my migration file in my code though.
My terminal output from the last run:
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "accelerate.prisma-data.net"
Enter a name for the new migration: … create-user-table
Applying migration
The following migration(s) have been created and applied from new schema changes:
migrations/
└─ 20250403135846_create_user_table/
└─ migration.sql
Your database is now in sync with your schema.
Generated Prisma Client (v6.5.0, engine=none) to ./node_modules/@prisma/client in 15ms
I have followed instruction setup.
My schema.prisma file looks like this:
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model User {
id String @id @default(uuid())
email String
}
my .env has the auto generated
DATABASE_URL="prisma+postgres://accelerate.prisma-data.net/?api_key=..."I first executed
npx prisma db push I am not sure if this was correct but I had positive terminal output.
No changes in database dashboard.
Then I executed
npx prisma migrate devFollowed by the termianl output suggestion to run
npx prisma migrate resetFollowed by one more execution of
npx prisma migrate devMy output always looks fine but still no changes in dashboard.
"You do not have any database models set up yet."
I do have my migration file in my code though.
My terminal output from the last run:
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "accelerate.prisma-data.net"
Applying migration
20250403135846_create_user_tableThe following migration(s) have been created and applied from new schema changes:
migrations/
└─ 20250403135846_create_user_table/
└─ migration.sql
Your database is now in sync with your schema.