feat: 同步数据库

This commit is contained in:
caoqianming 2026-01-28 16:26:30 +08:00
parent eda1435b58
commit 5e9a66c69d
2 changed files with 19 additions and 5 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 4.2.27 on 2026-01-28 08:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('resm', '0003_paper_o_keywords'),
]
operations = [
migrations.AlterField(
model_name='paper',
name='fail_reason',
field=models.TextField(blank=True, null=True),
),
]

View File

@ -32,11 +32,7 @@ class Paper(BaseModel):
default="meta_only", # meta_only / abstract_ready / fulltext_ready / parsed / failed default="meta_only", # meta_only / abstract_ready / fulltext_ready / parsed / failed
db_index=True db_index=True
) )
fail_reason = models.CharField( fail_reason = models.TextField(null=True, blank=True)
max_length=50,
null=True,
blank=True
)
source = models.CharField( source = models.CharField(
max_length=20, max_length=20,