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.0 KiB
31 lines
1.0 KiB
# Generated by Django 2.1 on 2023-09-06 14:01
|
|
|
|
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='教师编号')),
|
|
('t_name', models.CharField(max_length=255, verbose_name='教师名称')),
|
|
('t_sex', models.CharField(max_length=128, verbose_name='教师性别')),
|
|
('t_title', models.CharField(max_length=128, verbose_name='教师职称')),
|
|
('t_education', models.CharField(max_length=128, verbose_name='教师学历')),
|
|
('t_dept', models.CharField(max_length=128, verbose_name='教师所属院系')),
|
|
],
|
|
options={
|
|
'verbose_name': '教师',
|
|
'verbose_name_plural': '教师',
|
|
'db_table': 'teacher',
|
|
},
|
|
),
|
|
]
|