Settings

Theme

Chela: Small URL Shortener

github.com

1 points by subtract-smiles 2 years ago · 2 comments

Reader

eddd-ddde 2 years ago

Tangential recommendation: Postgres' "generated always as identity" should be preferred over the "serial" types.

  • subtract-smilesOP 2 years ago

    Nice 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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection