Closed jace closed 7 years ago
Rationale for change:
User
model originally introduced userid
as a private key to be used in API calls.Organization
and Team
models subsequently also received a userid
column, even though "user" is a misnomer here.buid
for URL-safe Base64 UUIDs.UuidMixin
now allows us to store a UUID but work with a buid
interchangeably.userid
synonym to buid
continues to propagate the "user" id misnomer, so we might as well change all references from userid
to buid
now. However, the legit use of the term userid
in the UserExternalId
model will remain.Since public APIs can't be broken, they'll will continue to use the userid
term until retirement. The GraphQL API that will replace the v1 APIs (as per hasgeek/coaster#100) will not offer a userid
column.
For compliance with hasgeek/coaster#123