Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use Prisma on almost all my node.js projects these days, and I wish that part of schema migrations was also automated by Prisma. But last I checked, it doesn't even rename columns properly.

I feel like maybe they should invest more R&D in their migrations technology? The ORM is pretty great.



Lack of reasonable support for migrations turned me off to Prisma when I first encountered it (in a KCDodds Remix app circa 2021-ish). I'm surprised that's still unaddressed.


Lack of support for running migrations, or generating migrations?


What do you find good about Prisma?


The ORM is great! I usually setup my projects so the Prisma generated types are shared with the front end and build my own types on top of those.

I like the prisma schema first way of specifying my models too. It’s pretty intuitive and readable, it centralizes all my models in one place.

The migration system could be more advanced but does the job. Multiple production projects I worked heavily on use it.

Overall I think it’s very well designed software




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: