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

migrate user activities #693

Open
santiaago opened this issue Jul 3, 2015 · 0 comments
Open

migrate user activities #693

santiaago opened this issue Jul 3, 2015 · 0 comments
Assignees
Milestone

Comments

@santiaago
Copy link
Member

This migration will happen in 3 steps:

step 1:

  • Create a task queue that queries all users using a limit of users to process per task queue.
  • For each user create an entity UserActivities that has a UserId and the list of ActivityIds of this user.

step 2:

Change the code of the app that uses User.ActivityIds to use UserActivities.Ids.

step 3:

  • Create another task queue to remove the User.ActivityIds property and remove it from the User model.

Check how do I remove a field from a model in google app engine with go

@santiaago santiaago added this to the Version 0.1.35 milestone Jul 3, 2015
@rjourde rjourde modified the milestones: Version 0.1.35, Version 0.1.36, version 0.1.36, version 0.1.37 Jul 10, 2015
@santiaago santiaago self-assigned this Sep 4, 2015
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

No branches or pull requests

2 participants