How do you deal with database migrations?

(with postgres).

Another question, which database library would you recommend? I've tried beam but goddamn it is complex. Rel8 is a bit simpler, but I was thinking of going for one that just takes SQL queries as strings.

5 points · 1 comments · view on lemmy.world

1 Comments

cow@lemmy.world · 3 pts · 227d

I don't know much Haskell but for other languages I use dbmate which is a language independent tool for handling migrations.