Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Choosing a Postgres Primary Key. Parent comment
What I meant (and have done in the past) is to encrypt/decrypt the auto-incrementing ID at the application boundaries.
If the OP is really using a one-way hash then yes, you would have to store both IDs.
There are no comments on this comment yet.
What I meant (and have done in the past) is to encrypt/decrypt the auto-incrementing ID at the application boundaries.
If the OP is really using a one-way hash then yes, you would have to store both IDs.