Base solution for your next web application
Open Closed

Clearing of Entity Changes / AuditLogs + Upgrading ABP Nuget #9607


User avatar
0
CrayonGroupSCA created
  • What is your product version? 7.2
  • What is your product type (Angular or MVC)? MVC + jQuery
  • What is product framework type (.net framework or .net core)? .Net Core 2.2

Hi,

Question 1: I have seen the post on the background worker to clear out the AbpAuditLogs table (ours is currently 119mb) which I will implement soon, but is it safe to also put in similar for AbpEntityPropertyChanges & AbpEntityChanges tables? Ours are 269mb and 77mb, and the platform is only 6 months old. Can we just clear the table every X days to keep it smaller as there are no timestamps on the PropertyChanges table.

Question 2: Can we update the nuget packages for ABP without updating the rest of the Zero code? We are currently on .net Core 2.2 but have plans to upgrade the whole code towards the end of the year but would like to know if we can update the packages before then, to the latest 2.2 supported version.

Thanks, Dave


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @CrayonGroupSCA

    Question 1: Yes, you can implement the same for AbpEntityPropertyChanges & AbpEntityChanges tables. Question 2: If you don't want to upgrade to .NET Core 3.x, just upgrade your ABP NuGet package versions to latest 4.x version. Becasue ABP 5.x uses .NET Core 3.x.

  • User Avatar
    0
    CrayonGroupSCA created

    Thanks for the confirmation.