Hacker News new | past | comments | ask | show | jobs | submit login

Are those migrations still editable, out of curiosity? Oftentimes I'll want to have migrations add things that simply aren't possible with some ORMs (e.g. generated columns, which can't be schema'd in most ORMs).

The main thing holding me back from Prisma is precisely what you like about it - if the migrations are auto-generated and I can't edit them afterward, I won't be able to do what I need to.




You can edit Prisma migrations. They are plain SQL files with no magic.


+1 have had to edit Prisma files after generating a migration, it went fine. As ‘moltar says, no magic.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: