What does error Error: The underlying table for mo...
# orm-help
b
What does error Error: The underlying table for model user does not exist mean? I am getting this one running migrate dev. It’s caused by a migration which alter a column of a table which is in database and was created previously.
s
Do you mean your migrate dev command is not completing, or that you run migrate dev but then you get an error in your app?
b
command not completing
s
I would try to confirm that you don’t have multiple instances of PrismaClient running. I ran into a hard-to-debug issue that may have been stemming from that
But my issue didn’t happen during the CLI command
b
Thanks, I don’t think thats it. I am using command line, so there shouldn’t be multiple instances
n
Hey 👋 Is the
User
table present in the database? The error means that it could not find User table.
b
Yes
n
Is this message related to this discussion? what are the name of your migration files? https://prisma.slack.com/archives/CA491RJH0/p1649919721141509
b
doesnt seem like that was caused by that , but Its same code so I want to fix that one first.
n
Can you share the migration file names?