feat(core): remove un-needed field model_notes from audit models

ref: #772 #759
This commit is contained in:
2025-05-25 08:24:51 +09:30
parent 0c6a15d22d
commit 64e53f6980
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# Generated by Django 5.1.9 on 2025-05-24 22:39
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0025_alter_centurionaudit_action_and_more'),
]
operations = [
migrations.RemoveField(
model_name='centurionaudit',
name='model_notes',
),
]

View File

@ -30,6 +30,7 @@ class CenturionAudit(
_notes_enabled: bool = False
"""Don't create notes table for istory model"""
model_notes = None
class Meta:
@ -204,6 +205,7 @@ class AuditMetaModel(
CenturionSubModel,
):
model_notes = None
class Meta:
abstract = True