Skip to main content

Prisma

Prisma ORM.

Get Started Guide and related repo

Context

  • T3 Apps
  • Nestjs

Practices

Changing Data Type

  1. Check if the field is used in a view
  2. Drop the related views
  3. Change the data type
  4. Recreate the views

Failed Migrations

Docs

npx prisma migrate resolve --rolled-back "20201127134938_migration_name"

Tools

Issues

Questions

Which engineering decision related to this topic has the highest switching cost once made — and how do you make it well with incomplete information?

  • At what scale or complexity level does the right answer to this topic change significantly?
  • How does the introduction of AI-native workflows change the conventional wisdom about this technology?
  • Which anti-pattern in this area is most commonly introduced by developers who know enough to be dangerous but not enough to know what they don't know?