You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.8 KiB
46 lines
1.8 KiB
5 days ago
|
# Generated by Django 4.2.7 on 2025-06-01 01:59
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
initial = True
|
||
|
|
||
|
dependencies = [
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='PrdItem',
|
||
|
fields=[
|
||
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
||
|
('project', models.CharField(help_text='所属项目', max_length=100, verbose_name='所属项目')),
|
||
|
('prd_version', models.CharField(help_text='版本', max_length=200, verbose_name='版本')),
|
||
|
('prd_doc_link', models.CharField(help_text='原型地址', max_length=100, verbose_name='原型地址')),
|
||
|
('prd_comment', models.TextField(help_text='版本描述', verbose_name='版本描述')),
|
||
|
('is_delete', models.BooleanField(default=False, help_text='删除状态', verbose_name='删除状态')),
|
||
|
],
|
||
|
options={
|
||
|
'verbose_name': '版本列表',
|
||
|
'verbose_name_plural': '版本列表',
|
||
|
'db_table': 'prd_item',
|
||
|
'db_table_comment': '版本列表',
|
||
|
},
|
||
|
),
|
||
|
migrations.CreateModel(
|
||
|
name='Project',
|
||
|
fields=[
|
||
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
||
|
('project_name', models.CharField(help_text='项目名称', max_length=100, verbose_name='项目名称')),
|
||
|
('is_delete', models.BooleanField(default=False, help_text='删除状态', verbose_name='删除状态')),
|
||
|
],
|
||
|
options={
|
||
|
'verbose_name': '项目列表',
|
||
|
'verbose_name_plural': '项目列表',
|
||
|
'db_table': 'prd_project',
|
||
|
'db_table_comment': '项目列表',
|
||
|
},
|
||
|
),
|
||
|
]
|