<@U3D8LQ8HK> <@UESADRKMY> did you guys figure out ...
# prisma1-community
w
@nikolasburk @Ryan did you guys figure out a way to migrate a 1-n @relation(link: TABLE)? https://github.com/prisma/prisma/issues/1937#issuecomment-621103677
n
Hey @windkomo 👋 does this section in the docs address your problem? You can migrate your data from the relation table into a foreign key column to turn the relation from a m-n into a 1-n relation with Prisma 2 as well.
w
I think it does, wanted to avoid migrating data but I guess this can’t be avoided
thanks!
n
Yeah, unfortunately the relation tables would otherwise force you to use a m-n relation in Prisma 2, so that data migration is the only way to fix this right now 😕
w
that’s understandable, thanks for the quick answer!