摘要 |
Disclosed are systems, methods, and non-transitory computer-readable storage media for migrating content items from a source user account to a target user account. A user can specify content items in the source user account to be migrated to an existing or new target user account. A new content entry including an account identifier of the target account and a pointer to the content item can be created for each migrated content item. Further, a determination can be made as to whether a sharing link to each content item exists, and if so, the content pointer of the old content entry is modified to forward or redirect to the new content entry. An active flag associated with the old content entry can be set to false or 0 to indicate that the old content entry is no longer active. |
主权项 |
1. A method comprising:
migrating, by a server device, a content item from a first user account to a second user account; receiving, by a server device, a request from a client device to access the content item, the request identifying the first account and the content item; identifying, by the server device, a first content entry in a content directory, the first content entry corresponding to the first account and the content item; obtaining from the first content entry, by the server device, a first pointer to a second content entry in the content directory, the second content entry corresponding to the second account and the content item; obtaining from the second content entry, by the server device, a second pointer to the memory location of the content item. |