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

Adds AutoHistory for logging DB changes automatically #1389

Merged
merged 6 commits into from
Aug 3, 2022
Merged

Conversation

Masterjun3
Copy link
Collaborator

This PR adds the AutoHistory code at this state https://github.com/Arch/AutoHistory/tree/3caa87128c1ff5702c05393c9d5c53bc8d940628/ merged with the currently open PR at arch/AutoHistory#72 .
The reason for the manual package is, the current NuGet package of that repository isn't updated and doesn't support .NET 6.0 yet.

This PR:

  • adds a manually built nuget package
  • enables the autohistory on modifications and deletions (the default)
  • enables the autohistory on additions (non-default)
  • runs the autohistory on a custom class for adding a UserId column to track who triggered the db change
  • adds the proper autohistory migration
  • disables it for all entites except Game and GameVersion

@adelikat adelikat merged commit fc7d28b into main Aug 3, 2022
@adelikat adelikat deleted the auto-history branch August 3, 2022 22:11
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

Successfully merging this pull request may close these issues.

2 participants