Site Primary Key - id vs site_id
A site object has both an id
and a site_id
.
The id
is the auto-generated integer primary key.
The site_id
is an auto-generated UUID.
Why does a site have both of these? Should we be using the site_id
as the primary key?
This feels like a hangover.
Edited by Peter Armstrong