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.
33 lines
1.2 KiB
33 lines
1.2 KiB
# Generated by Django 4.2.3 on 2023-07-13 00:41 |
|
|
|
from django.db import migrations, models |
|
|
|
|
|
class Migration(migrations.Migration): |
|
|
|
initial = True |
|
|
|
dependencies = [ |
|
] |
|
|
|
operations = [ |
|
migrations.CreateModel( |
|
name='UserBaseInfo', |
|
fields=[ |
|
('id', models.AutoField(primary_key=True, serialize=False, verbose_name='用户id')), |
|
('username', models.CharField(max_length=30, verbose_name='用户名')), |
|
('password', models.CharField(max_length=20, verbose_name='密码')), |
|
('age', models.IntegerField(verbose_name='年龄')), |
|
('mobile', models.CharField(max_length=20, verbose_name='手机号')), |
|
('status', models.CharField(max_length=1, verbose_name='状态')), |
|
('create_date', models.DateField(auto_now_add=True, verbose_name='创建时间')), |
|
], |
|
), |
|
migrations.CreateModel( |
|
name='UserStatus', |
|
fields=[ |
|
('id', models.AutoField(primary_key=True, serialize=False, verbose_name='状态id')), |
|
('status', models.CharField(max_length=10, verbose_name='状态')), |
|
], |
|
), |
|
]
|
|
|