2023-08-06 14:19:55 +08:00
# Generated by Django 4.2.3 on 2023-08-06 05:55
2023-06-28 00:49:11 +08:00
from django . db import migrations , models
import django . db . models . deletion
class Migration ( migrations . Migration ) :
initial = True
dependencies = [
2023-08-06 14:19:55 +08:00
( ' auth ' , ' 0012_alter_user_first_name_max_length ' ) ,
2023-07-26 12:14:19 +08:00
( ' accounts ' , ' 0001_initial ' ) ,
2023-08-06 14:19:55 +08:00
( ' subjects ' , ' 0001_initial ' ) ,
2023-07-26 23:32:03 +08:00
( ' year_levels ' , ' 0001_initial ' ) ,
2023-06-28 00:49:11 +08:00
]
operations = [
2023-07-09 19:00:47 +08:00
migrations . AddField (
model_name = ' customuser ' ,
name = ' subjects ' ,
2023-07-26 23:32:03 +08:00
field = models . ManyToManyField ( to = ' subjects.subject ' ) ,
2023-06-28 00:49:11 +08:00
) ,
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 ' ,
2023-07-09 19:00:47 +08:00
field = models . ForeignKey ( null = True , on_delete = django . db . models . deletion . SET_NULL , to = ' year_levels.year_level ' ) ,
2023-06-28 00:49:11 +08:00
) ,
]