From 2dc85e6f27702cbce1df67fca76dbf4b1b34fbc7 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 14 Apr 2022 19:34:30 -0400 Subject: [PATCH] Add table name for audit_log --- app/classes/models/management.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/classes/models/management.py b/app/classes/models/management.py index 7fbfc919..15bbec76 100644 --- a/app/classes/models/management.py +++ b/app/classes/models/management.py @@ -34,6 +34,9 @@ class AuditLog(BaseModel): ) # When auditing global events, use server ID 0 log_msg = TextField(default="") + class Meta: + table_name = "audit_log" + # ********************************************************************************** # Host_Stats Class