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

Handle mywod migration being run multiple times #158

Open
egilsster opened this issue Jun 18, 2020 · 2 comments
Open

Handle mywod migration being run multiple times #158

egilsster opened this issue Jun 18, 2020 · 2 comments

Comments

@egilsster
Copy link
Owner

Currently, if the migration is run multiple times, it creates all the workout scores again since they don't have any particular unique identity. Need to evaluate what's the best approach here, might even just mark the user as migrated and return zero for the added_* fields and false for user_updated.

@egilsster
Copy link
Owner Author

This likely gets resolved when I can do #175

@egilsster
Copy link
Owner Author

Since I added indexes now, I can add a combined index for a score. Will need to think about the values that would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant