v6 Migration Doesn't Work
I did a baseline for my current db in prisma 5. all in sync, all good.
I think updated prisma and @prisma/client to v6
then i ran
and it says my database is out of sync with my schema and it has shifted. it lists all the things that are wrong with it
That list of wrong issues only contains the implicit index changes from v6.
It then says in order to run this i must lose all data??? has to be a way to do this without losing all data?
as a note my usual method of adding to adn removing from the database are:
I think updated prisma and @prisma/client to v6
then i ran
npx prisma migrate dev --name upgrade-to-v6and it says my database is out of sync with my schema and it has shifted. it lists all the things that are wrong with it
That list of wrong issues only contains the implicit index changes from v6.
It then says in order to run this i must lose all data??? has to be a way to do this without losing all data?
as a note my usual method of adding to adn removing from the database are:
npx prisma generatenpx prisma push