NestJS - Database with Prisma
You want to rename a column in your Prisma model. What is the recommended way to handle this in migrations?
@map attribute lets you rename the field in Prisma schema while keeping the database column name unchanged, preserving data.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions