I have a project on production.
I’m migrating my Docker images versions:
- Prisma v1.19 to v1.34
- Postgres v10.5 to v10.3
I already had data in the DB and it persisted during the image change. Everything works fine on the application side.
The problem now is that when I run
prisma deploy, I get warnings saying that forcing would result in data loss.
The only thing I changed on the schema is all fields
id: ID! @unique to
id: ID! @id.
How can I fix this?
FooToBar ! You already have nodes for this relation. This change will result in data loss. Global ! You are migrating from the old datamodel syntax to the new one. Make sure that you understand the listed changes because the semantics are different now. Then perform the deployment with the `--force` flag.