tool · inferred from evidence
prisma db push
A Prisma command to push schema changes directly to the database.
- The table `public.User` does not exist in the current database.
Fixes Prisma error P2021 'The table does not exist in the current database' by applying the missing migrations or pushing the schema so the table actually gets created. Use when queries fail with P2021 after a deploy or a schema change. Not
- Drift detected: Your database schema is not in sync with your migration history
Fixes the Prisma 'Drift detected: Your database schema is not in sync with your migration history' error by deciding whether the database or the migration history is the source of truth, then reconciling the two. Use when migrate dev refuse