mirror of
https://github.com/lemeow125/InfoTech-Backend.git
synced 2025-05-16 11:28:14 +08:00
Polished full_name for professor and student
This commit is contained in:
parent
f9b585108e
commit
cdd4db9b6a
7 changed files with 91 additions and 8 deletions
19
infotech/professors/migrations/0002_professor_full_name.py
Normal file
19
infotech/professors/migrations/0002_professor_full_name.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Generated by Django 4.2 on 2023-04-22 04:46
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('professors', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='professor',
|
||||
name='full_name',
|
||||
field=models.CharField(db_column='full_name', default=' ', max_length=80),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 4.2 on 2023-04-22 04:57
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('professors', '0002_professor_full_name'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='professor',
|
||||
name='full_name',
|
||||
),
|
||||
]
|
|
@ -0,0 +1,25 @@
|
|||
# Generated by Django 4.2 on 2023-04-22 05:00
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('professors', '0003_remove_professor_full_name'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='professor',
|
||||
name='full_name',
|
||||
field=models.CharField(default=' ', max_length=120),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='professor',
|
||||
name='middle_name',
|
||||
field=models.CharField(default=' ', max_length=40),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue