feat: 同步数据库
This commit is contained in:
parent
eda1435b58
commit
5e9a66c69d
|
|
@ -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),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue