Skip to content
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

fill uid field of UserSocialAuth model #553

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

ybekdemir
Copy link

Purpose

After one user succesfully import data from onedrive, other users can not import data because User_social_auth table (which store tokens for onedrive access) has uid as a unique field and that is empty. Therefore, new users always get key conflict error. We need to fill that uid field with unique values.

Approach

UID field filled with generated UUID before it saved. So, each row will have its own unique value as a uid.

_Related ticket: #547

@rafa-munoz rafa-munoz merged commit cccdaa9 into toladata:master Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants