Comment
Comment by FBISurveillance
Another option is to use `SecureRandom.uuid_v7` like this:
This also gives you the advantage of having your PK known before record persisted (maybe it's just me but I like my UUID PKs generated in app instead of db)