Skip to content

Commit

Permalink
Add a migration for allowing the docx field in the entries file type
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran committed Jun 21, 2024
1 parent 3cfe5aa commit ff26b19
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/khoj/database/migrations/0047_alter_entry_file_type.py
Original file line number Diff line number Diff line change
@@ -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,
),
),
]

0 comments on commit ff26b19

Please sign in to comment.