mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 09:25:06 +01:00
Increase the title character limit to 500 for conversations
This commit is contained in:
parent
f05e64cf8c
commit
b6714c202f
2 changed files with 18 additions and 1 deletions
|
@ -0,0 +1,17 @@
|
||||||
|
# Generated by Django 5.0.9 on 2024-11-12 09:50
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
("database", "0073_delete_usersearchmodelconfig"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="conversation",
|
||||||
|
name="title",
|
||||||
|
field=models.CharField(blank=True, default=None, max_length=500, null=True),
|
||||||
|
),
|
||||||
|
]
|
|
@ -463,7 +463,7 @@ class Conversation(BaseModel):
|
||||||
slug = models.CharField(max_length=200, default=None, null=True, blank=True)
|
slug = models.CharField(max_length=200, default=None, null=True, blank=True)
|
||||||
|
|
||||||
# The title field is explicitly set by the user.
|
# The title field is explicitly set by the user.
|
||||||
title = models.CharField(max_length=200, default=None, null=True, blank=True)
|
title = models.CharField(max_length=500, default=None, null=True, blank=True)
|
||||||
agent = models.ForeignKey(Agent, on_delete=models.SET_NULL, default=None, null=True, blank=True)
|
agent = models.ForeignKey(Agent, on_delete=models.SET_NULL, default=None, null=True, blank=True)
|
||||||
file_filters = models.JSONField(default=list)
|
file_filters = models.JSONField(default=list)
|
||||||
id = models.UUIDField(default=uuid.uuid4, editable=False, unique=True, primary_key=True, db_index=True)
|
id = models.UUIDField(default=uuid.uuid4, editable=False, unique=True, primary_key=True, db_index=True)
|
||||||
|
|
Loading…
Reference in a new issue