mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
51 lines
2 KiB
Python
51 lines
2 KiB
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', '0002_initial'),
|
|
('accounts', '0001_initial'),
|
|
('semesters', '0001_initial'),
|
|
('year_levels', '0001_initial'),
|
|
('auth', '0012_alter_user_first_name_max_length'),
|
|
('subjects', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='customuser',
|
|
name='course',
|
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='courses.course'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='customuser',
|
|
name='groups',
|
|
field=models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.group', verbose_name='groups'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='customuser',
|
|
name='semester',
|
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='semesters.semester'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='customuser',
|
|
name='subjects',
|
|
field=models.ManyToManyField(related_name='SubjectStudent_user', through='subjects.SubjectStudent', to='subjects.subject'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='customuser',
|
|
name='user_permissions',
|
|
field=models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.permission', verbose_name='user permissions'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='customuser',
|
|
name='year_level',
|
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='year_levels.year_level'),
|
|
),
|
|
]
|