# Generated by Django 5.0.2 on 2024-08-27 09:26

import backend.models
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('backend', '0037_alter_knowledgebase_chunk_num_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='Task',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('create_time', models.DateTimeField(blank=True, default=backend.models.eight_hours_from_now, null=True, verbose_name='创建日期')),
                ('update_time', models.DateTimeField(default=backend.models.eight_hours_from_now, verbose_name='更新时间')),
                ('doc_id', models.CharField(max_length=255, verbose_name='文件详情id')),
                ('from_page', models.IntegerField(default=0, verbose_name='开始页数')),
                ('to_page', models.IntegerField(default=-1, verbose_name='结束页数')),
                ('begin_at', models.CharField(blank=True, max_length=255, null=True, verbose_name='begin_at')),
                ('process_duation', models.FloatField(default=0, max_length=255, verbose_name='解析时间')),
                ('progress', models.FloatField(default=0, max_length=255, verbose_name='解析进度')),
                ('progress_msg', models.TextField(blank=True, default='', max_length=255, null=True, verbose_name='解析内容')),
            ],
            options={
                'verbose_name': '文件解析信息表',
                'verbose_name_plural': '文件解析信息表',
                'db_table': 'kbm_task',
            },
        ),
    ]
