Felix Wohnhaas
12/22/2021, 3:50 PMprisma db pull . This worked, however my schema now contains all sorts of mappings to existing keys, constraints, …
E.g.:
@id(map: "PK_71a8d4792f7790deb531235496c")
@relation(fields: [seasonId], references: [id], onDelete: Cascade, onUpdate: NoAction, map: "FK_2725433beb670562c7ffe20b5a2")
These mapped IDs do not exist in the production database. My question is: Can I safely remove these mappings? What are they used / needed for? When starting “fresh”, prisma also does not generate these mappings..Felix Wohnhaas
12/22/2021, 4:06 PMAccount_pkey . I assume the best way would be renaming the keys and indices, but this seems like a lot of work.