Remove shedules field on students

This commit is contained in:
Keannu Christian Bernasol 2023-04-22 11:59:16 +08:00
parent c9c7d1f5ec
commit 98392344a1
8 changed files with 95 additions and 9 deletions

View file

@ -0,0 +1,19 @@
# Generated by Django 4.2 on 2023-04-22 03:05
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('schedules', '0002_alter_schedule_professor'),
('students', '0005_remove_student_enrolled_subjects'),
]
operations = [
migrations.AddField(
model_name='student',
name='schedules',
field=models.ManyToManyField(through='schedules.StudentSchedule', to='schedules.schedule'),
),
]

View file

@ -0,0 +1,19 @@
# Generated by Django 4.2 on 2023-04-22 03:24
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('schedules', '0002_alter_schedule_professor'),
('students', '0006_student_schedules'),
]
operations = [
migrations.AlterField(
model_name='student',
name='schedules',
field=models.ManyToManyField(related_name='Schedule_subject', through='schedules.StudentSchedule', to='schedules.schedule'),
),
]

View file

@ -0,0 +1,17 @@
# Generated by Django 4.2 on 2023-04-22 03:58
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('students', '0007_alter_student_schedules'),
]
operations = [
migrations.RemoveField(
model_name='student',
name='schedules',
),
]