Patch and move user_revision

Issue #40