We use constraints with PostgreSQL and Prisma to have more control over the data in our NestJS project.| Marcin Wanago Blog - JavaScript, both frontend and backend