StudE-Backend/stude/student_status/migrations/0002_initial.py

29 lines
828 B
Python
Raw Permalink Normal View History

# Generated by Django 4.2.3 on 2023-07-18 07:43
2023-06-27 21:12:03 +08:00
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('study_groups', '0001_initial'),
('student_status', '0001_initial'),
('subjects', '0001_initial'),
2023-06-27 21:12:03 +08:00
]
operations = [
migrations.AddField(
model_name='studentstatus',
name='study_group',
field=models.ManyToManyField(blank=True, through='study_groups.StudyGroupMembership', to='study_groups.studygroup'),
2023-06-27 21:12:03 +08:00
),
migrations.AddField(
model_name='studentstatus',
name='subject',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='subjects.subject'),
),
2023-06-27 21:12:03 +08:00
]