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

Full versioning for Records and RecordTypes #80

Open
jeancochrane opened this issue Jun 14, 2018 · 0 comments
Open

Full versioning for Records and RecordTypes #80

jeancochrane opened this issue Jun 14, 2018 · 0 comments

Comments

@jeancochrane
Copy link
Contributor

One very cool part of Ashlar is that the schemas are all versioned under the hood, meaning that a developer using Ashlar can expose a full audit log of how a schema has changed over time and potentially allow an admin user to roll back to previous versions.

I wonder how much leverage we could get from implementing a similar versioning system for Records and RecordTypes. Records and RecordTypes are already append-only in that they use active and archived flags (respectively) to indicate whether or not they've been deleted, but to my knowledge we don't preserve previous versions when someone edits them.

Allowing full versioning would have some advantages:

  • The history of the entire data model and record store could be auditable by an admin user
  • Records could be migrated to new schemas while A) preserving old versions and B) preventing dupes from entering the database

Full versioning would also have some disadvantages:

  • More complexity in the Ashlar data model
  • A lot of work with unclear ROI -- we would need to know how badly admin users would want this feature

(This isn't a pressing issue -- just filing it here for future discussion. Feel free to tag at will!)

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

1 participant