Hi guys, I'm facing an issue. I have an old Prisma...
# orm-help
n
Hi guys, I'm facing an issue. I have an old Prisma 1.30 model. Now we would like to migrate the to the latest 1.x prisma version. The new model for 1.34 wants the relation type (INLINE or TABLE). We have created the new model but the data get lost. So we created a new BK database and we have migrated the data using plain SQL to the new ideal "model" structure, we than used
prisma introspect
to generate the model from the db schema and its mostly the same of the one we have created wen we initially have tried to migrate to 1.34. But Prisma is still lookin for the old tables that are no more present. Our main change was to move all the n:m relations that actually were 1:n to inline. (we were also facing bad performaces) Unfortunatly we have production data in it. What can we do? (Other than to move to Prisma2 that cant be done right now for other issues?) We have a postgres DB.