mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Add a migration for allowing the docx field in the entries file type
This commit is contained in:
parent
3cfe5aabe5
commit
ff26b19d2b
1 changed files with 31 additions and 0 deletions
31
src/khoj/database/migrations/0047_alter_entry_file_type.py
Normal file
31
src/khoj/database/migrations/0047_alter_entry_file_type.py
Normal 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,
|
||||
),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue