Skip to content

fill uid field of UserSocialAuth model - #553

Merged
rafa-munoz merged 1 commit into
toladata:masterfrom
ybekdemir:issue-547
Sep 11, 2018
Merged

fill uid field of UserSocialAuth model#553
rafa-munoz merged 1 commit into
toladata:masterfrom
ybekdemir:issue-547

Conversation

@ybekdemir

Copy link
Copy Markdown

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.

2 participants