mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 14:29:25 +08:00
27 lines
763 B
Python
27 lines
763 B
Python
# Generated by Django 4.2.3 on 2023-07-09 10:57
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('courses', '0001_initial'),
|
|
('subjects', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='subjectcourse',
|
|
name='subject',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='subjects.subject'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='course',
|
|
name='subjects',
|
|
field=models.ManyToManyField(related_name='SubjectCourse_course', through='courses.SubjectCourse', to='subjects.subject'),
|
|
),
|
|
]
|