Very pragmatic approach to fix this issue. I first tried to add another path to make a true upsert during migration, but this caused the complexity of the PostgresDurableStateDao to increase even further. So I tried this version instead, and it seems to work ™️
Fixes https://github.com/akka/akka-persistence-r2dbc/issues/552
Very pragmatic approach to fix this issue. I first tried to add another path to make a true upsert during migration, but this caused the complexity of the
PostgresDurableStateDao
to increase even further. So I tried this version instead, and it seems to work ™️