|
|
|
|
|
by babbledabbler
1098 days ago
|
|
This was generally the reason I went with numeric ID as PK originally. It makes working with and analyzing the data as well as cross referencing relations easier. For all my tables I have a base schema that looks something like this. id: integer sequence PK
uuid: uuidV4
created_at: datetime
updated_at: datetime The concern I have is when I have to distribute my system when scaling. Those numeric IDs will have to be replaced with the UUIDs so I figure I might as well do it now. |
|