-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add UID for Account #1413
Labels
enhancement
New feature or request
Comments
Any of those work for me. We'll probably have to copy and rebuild the table in a migration. |
Yeah I'll pick this up once I do some changes to the db schema |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently we use the id of of the user as unique account identifier. Here in lays the problem, this account id is not unique across instances. Meaning it is possible that user A from instance IA has the same ID as user B from IB.
Thus instead we should add a UID (incremental) as primary and drop the unique constraint for id.
Suggestions for naming of this column? iid, uid, sid..
The text was updated successfully, but these errors were encountered: