# Generated by Django 5.0.2 on 2024-09-20 07:57

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


class Migration(migrations.Migration):

    dependencies = [
        ('backend', '0067_wechatuser_source'),
    ]

    operations = [
        migrations.CreateModel(
            name='KbmDocumentType',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('status', models.SmallIntegerField(choices=[(5, '使用中'), (6, '已停用'), (4, '已删除')], default=5, verbose_name='状态')),
                ('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='更新时间')),
                ('name', models.CharField(blank=True, max_length=255, null=True, verbose_name='姓名')),
                ('kb_id', models.CharField(blank=True, max_length=255, null=True, verbose_name='所属知识库id')),
            ],
            options={
                'verbose_name': '知识库文件分类表',
                'verbose_name_plural': '知识库文件分类表',
                'db_table': 'kbm_document_type',
            },
        ),
        migrations.AddField(
            model_name='documentkbm',
            name='doc_type_id',
            field=models.CharField(blank=True, max_length=255, null=True, verbose_name='文件所属分类id'),
        ),
    ]
