#Dashboard localhost:4467/_admin after run command: yarn prisma:deploy-force all table is 0

13 messages · Page 1 of 1 (latest)

spark igloo
#

why in the prism dashboard there are only 2 tables that have data yaoit PageAccess 80 the data does not match the data in postgres, this is when running: yarn prisma:deploy-force
prisma version 1.32

merry sandalBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

solemn osprey
#

You're showing us two different tables. Depending on the scheme, you can also put together tables that are dependent on each other.

spark igloo
#

@solemn ospreyYes, why is the schema on the left not the same as the schema in Postgres?

solemn osprey
#

idk what you declated on prisma.schema?

spark igloo
#

like the picture below
@solemn osprey

#

@solemn osprey I'm a little confused, how do I make the schema contents the same as in Postgres?

#

@solemn osprey Do you have any suggestions for the above problem?

solemn osprey
#

Without knowing your complete schema.prisma, nobody will be able to tell you anything. You can make certain joints in your schema that are displayed in the studio but not in the database.

spark igloo
#

@solemn ospreybut when you try the production URL, it works, for example if you want to retrieve a user's login, all the data appears

solemn osprey
#

and? that doesn't contradict any of my explanations.

spark igloo
#

@solemn osprey prisma.schema contains just that, why is it 0 data which is confusing when running it to do local development