Add a migration for allowing the docx field in the entries file type

This commit is contained in:
sabaimran 2024-06-21 09:47:49 +05:30
parent 3cfe5aabe5
commit ff26b19d2b

View file

@ -0,0 +1,31 @@
# Generated by Django 4.2.11 on 2024-06-21 04:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("database", "0046_khojuser_email_verification_code_and_more"),
]
operations = [
migrations.AlterField(
model_name="entry",
name="file_type",
field=models.CharField(
choices=[
("image", "Image"),
("pdf", "Pdf"),
("plaintext", "Plaintext"),
("markdown", "Markdown"),
("org", "Org"),
("notion", "Notion"),
("github", "Github"),
("conversation", "Conversation"),
("docx", "Docx"),
],
default="plaintext",
max_length=30,
),
),
]