Heroku の PostgreSQL 担当の人が id には uuid を使えと発表していたのでメモ。(時間がない人は、↓の動画の15分くらいからを見ましょう) stop using numbers as IDs. just use UUIDs. seriously -- Postgres: The Bits You Haven't Found by pvh UUID の違い v1 Generate a UUID from a host ID, sequence number, and the current time. v3 Generate a UUID from the MD5 hash of a namespace UUID and…