chore(access): TeamUser model does not require audithistory

model will be depreciated soon

ref: #789 #792
This commit is contained in:
2025-06-06 14:52:42 +09:30
parent f56ee55347
commit 276e322eef
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# Generated by Django 5.1.9 on 2025-06-06 05:22
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("access", "0012_teamusers_model_notes_alter_teamusers_id_and_more"),
]
operations = [
migrations.DeleteModel(
name="TeamUsersAuditHistory",
),
]

View File

@ -21,6 +21,8 @@ class TeamUsers(
CenturionModel
):
_audit_enabled = False
organization = None # Dont add organization field
class Meta: