Giving relation implicit name explicitly without dropping table
Hey! So I had a relation between model A and B for a long time now. I haven't named it explicitly. Now I want to add a second relation between the same two models, A and B. To do this, I need to name both relations explicitly, using the
@relation
attribute.
But when I then do prisma db push
it informs me that it needs to drop the table "_AtoB", even though that relation table is not empty.
Of course, I don't want to do that! But trying to explictily name the table "_AtoB" doesn't seem to help. It still informs me of the same thing. What are my options here?0 Replies