fix(assistance): make kb article field longer for model name

ref: #789
This commit is contained in:
2025-06-06 12:21:52 +09:30
parent e75bc124c9
commit d06bf78d0a
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,24 @@
# Generated by Django 5.1.9 on 2025-06-06 02:40
import assistance.models.model_knowledge_base_article
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("assistance", "0012_alter_knowledgebasecategory_parent_category_and_more"),
]
operations = [
migrations.AlterField(
model_name="modelknowledgebasearticle",
name="model",
field=models.CharField(
choices=assistance.models.model_knowledge_base_article.all_models,
help_text="Model type to link to article article",
max_length=80,
verbose_name="Model Type",
),
),
]

View File

@ -114,7 +114,7 @@ class ModelKnowledgeBaseArticle(TenancyObject):
blank = False,
choices = all_models,
help_text = 'Model type to link to article article',
max_length = 50,
max_length = 80,
null = False,
unique = False,
verbose_name = 'Model Type',