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.

31 lines
1.1 KiB

# Generated by Django 2.1 on 2023-09-07 13:49
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Teacher',
fields=[
('tid', models.AutoField(primary_key=True, serialize=False, verbose_name='教师编号')),
('name', models.CharField(blank=True, max_length=255, verbose_name='教师名称')),
('sex', models.CharField(blank=True, max_length=128, verbose_name='教师性别')),
('title', models.CharField(blank=True, max_length=128, verbose_name='教师职称')),
('education', models.CharField(blank=True, max_length=128, verbose_name='教师学历')),
('dept', models.CharField(blank=True, max_length=128, verbose_name='教师所属院系')),
],
options={
'verbose_name': '教师',
'verbose_name_plural': '教师',
'db_table': 'teacher',
},
),
]