Chela: Small URL Shortener
1 point by subtract-smiles 1 year ago | 2 comments- eddd-ddde 1 year agoTangential recommendation: Postgres' "generated always as identity" should be preferred over the "serial" types.
- subtract-smiles 1 year agoNice catch! It probably would be good to switch to an IDENTITY column, but it shouldn't make too much of a difference because Chela manages the state of the index manually anyways.
In order to create new IDs it consumes the next value of the index column, and then manually sets the index and the ID in one go.
- subtract-smiles 1 year ago