OSU-Net / cyder

Cyder
BSD 3-Clause "New" or "Revised" License
10 stars 12 forks source link

Fix discrepancies between user pk and user profile pk #1052

Closed murrown closed 9 years ago

akeym commented 9 years ago

are there any issues with existing users or is just that there was an assumption made about the ids matching?

murrown commented 9 years ago

There was an assumption that the IDs would match. Ideally, that should probably be the case, but this was an easier fix and I'd want to make this change anyway even if the IDs do match, because it's more accurate to the semantics.

For the longest time user IDs and profile IDs did match, because they were created at the same time, but that's not the case if profiles are created on login.