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
11 Replies
You're showing us two different tables. Depending on the scheme, you can also put together tables that are dependent on each other.
@JTBYes, why is the schema on the left not the same as the schema in Postgres?
idk what you declated on prisma.schema?
like the picture below
@JTB
@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?
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.
@JTBbut when you try the production URL, it works, for example if you want to retrieve a user's login, all the data appears
and? that doesn't contradict any of my explanations.
@JTB prisma.schema contains just that, why is it 0 data which is confusing when running it to do local development
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.