Hacker News new | ask | show | jobs
by pocketarc 640 days ago
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.

1 comments

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.