refactor(access): Rename History models

ref: #765 #759
This commit is contained in:
2025-05-18 03:38:58 +09:30
parent 41ec865618
commit ef82c40555
23 changed files with 72 additions and 42 deletions

View File

@ -238,12 +238,12 @@ class Entity(
def save_history(self, before: dict, after: dict) -> bool:
from access.models.entity_history import EntityHistory
from access.models.entity_history import EntityAuditHistory
history = super().save_history(
before = before,
after = after,
history_model = EntityHistory
history_model = EntityAuditHistory
)
return history