Closed howardchung closed 8 years ago
Kubernetes should take care of upgrade (and the dump/restore the data upgrade) but we'll need to edit queries.js to support upserts.
So I implemented my own custom "genValue" function that builds an upsert query for postgres (see queries.js), but it feels hacky. I would like knex.js to have support for it, but they don't seem to be moving quickly. If we really want this we can use my homebrewed solution but we should test it carefully before deploying to production.
This will be released in January.