https://miniecloud.github.io/posts/postgresUpsert/
Postgresql update & insert - TIL