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

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
No description
No description
11 Replies
JTB
JTB3mo ago
You're showing us two different tables. Depending on the scheme, you can also put together tables that are dependent on each other.
arga fauzianto
arga fauzianto3mo ago
@JTBYes, why is the schema on the left not the same as the schema in Postgres?
JTB
JTB3mo ago
idk what you declated on prisma.schema?
arga fauzianto
arga fauzianto3mo ago
like the picture below @JTB
No description
arga fauzianto
arga fauzianto3mo ago
@JTB I'm a little confused, how do I make the schema contents the same as in Postgres? @JTB Do you have any suggestions for the above problem?
JTB
JTB3mo ago
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.
arga fauzianto
arga fauzianto3mo ago
@JTBbut when you try the production URL, it works, for example if you want to retrieve a user's login, all the data appears
JTB
JTB3mo ago
and? that doesn't contradict any of my explanations.
JTB
JTB3mo ago
No description
arga fauzianto
arga fauzianto3mo ago
@JTB prisma.schema contains just that, why is it 0 data which is confusing when running it to do local development
JTB
JTB3mo ago
I don't know how I can explain it any more simply. If you declare connections in the schema that do not physically exist, like a virtualisation of the table, no new tables are created in the database but you virtualise them. But whether this is the case and WHAT exactly is the case with you cannot be said on the basis of the screen shorts.
Want results from more Discord servers?
Add your server