123456789101112131415161718192021222324252627282930 |
- # Generated by Django 3.2 on 2021-07-17 20:05
- from django.db import migrations, models
- class Migration(migrations.Migration):
- initial = True
- dependencies = [
- ]
- operations = [
- migrations.CreateModel(
- name='FileManager',
- fields=[
- ('id', models.CharField(default='TestLaboratory_V1_File_1', max_length=30, primary_key=True, serialize=False, unique=True, verbose_name='文件id')),
- ('path', models.FilePathField(max_length=200, verbose_name='文件路径')),
- ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
- ('update_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')),
- ('delete', models.BooleanField(default=False)),
- ('category', models.CharField(max_length=20, verbose_name='文件类型')),
- ],
- options={
- 'verbose_name': '文件管理',
- 'verbose_name_plural': '文件管理',
- 'db_table': 'file_manager',
- },
- ),
- ]
|