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

Save versions of the schema #13

Open
cpina opened this issue Dec 1, 2020 · 0 comments
Open

Save versions of the schema #13

cpina opened this issue Dec 1, 2020 · 0 comments

Comments

@cpina
Copy link
Collaborator

cpina commented Dec 1, 2020

Currently when the schema is saved it overwrites the previous schema. It might be useful to keep track of versions of the schema: for accountability and also to be able to revert mistakes.

Besides saving the different versions it should be possible to list the changes with the timestamp and the user that made the change. It could also be useful to have a "diff" between changes.

Implementation details: this could be done on saving the schema: add a version field, each save goes to a new version and it should also save the user that saved it. Or a package like https://django-simple-history.readthedocs.io/en/latest/ could be used.

This is related in a way to #5 ("Handle conflicts", as this versioning at least it would avoid overwriting).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant