Closed janpio closed 4 years ago
Uses @map on relation field which does not work Also updated unrelated @@index
Theses are bugs, that will be fixed by https://github.com/prisma/language-tools/compare/bug_rename_function?expand=1.
Maybe: Renamed field was not formatted
Not sure if this is a bug, maybe people do not want their schema reformatted after a rename?
I had this schema:
I then used
F2
on theAlbum
field in theTrack
model. This lead to the following modified model, which is invalid:Problems:
@map
on relation field which does not work@@index