Reputation: 20668
I'm using one database for all (users, files and comments).
I was wondering if I can/should use
It feels weird to mix those different types of id's.
What speaks agains this scenario? Should I stick to the CouchDB uuid's for consistency?
Upvotes: 2
Views: 80
Reputation: 4631
Use any format of id, or combination of formats, as you see fit. You might wish to add a prefix to ensure there are no overlaps between them, though.
twitter:@rnewson
md5:86f646c11b3bc7d434d06c077aee43d8
And so on.
Upvotes: 4