Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Merging users should be a reversible transaction #230

Open
jace opened this issue Feb 4, 2018 · 0 comments
Open

Merging users should be a reversible transaction #230

jace opened this issue Feb 4, 2018 · 0 comments

Comments

@jace
Copy link
Member

jace commented Feb 4, 2018

Merging users currently overrides all records of one user. This process is irreversible. However, merging should be undoable, so it needs to keep a record of what changed. This may be in two tables:

  1. To keep track of attempts to merge users, including unsuccessful attempts, and status across client apps
  2. To record every table and row that was mutated to effect the merger, and the old and new values of changed columns. Also to record tables and rows that were dropped due to unique constraint conflicts.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant