diff --git a/backend/backend_api/migrations/0052_alter_staff_role_alter_staff_section_name.py b/backend/backend_api/migrations/0052_alter_staff_role_alter_staff_section_name.py new file mode 100644 index 0000000..fe9319d --- /dev/null +++ b/backend/backend_api/migrations/0052_alter_staff_role_alter_staff_section_name.py @@ -0,0 +1,38 @@ +# Generated by Django 4.2.4 on 2023-11-30 08:10 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("backend_api", "0051_remove_workshop_add_to_calendar_link"), + ] + + operations = [ + migrations.AlterField( + model_name="staff", + name="role", + field=models.CharField( + choices=[("Team Lead", "TL"), ("Member", "MB"), ("Coordinator", "CR")], + default="Executive", + max_length=100, + ), + ), + migrations.AlterField( + model_name="staff", + name="section_name", + field=models.CharField( + choices=[ + ("Coordination", "CR"), + ("Executive", "EXC"), + ("Scientific", "SCI"), + ("Technical", "TCH"), + ("Graphic", "GRP"), + ("Marketing", "MRK"), + ], + default="Member", + max_length=100, + ), + ), + ] diff --git a/backend/backend_api/migrations/0053_alter_staff_role_alter_staff_section_name.py b/backend/backend_api/migrations/0053_alter_staff_role_alter_staff_section_name.py new file mode 100644 index 0000000..d152b70 --- /dev/null +++ b/backend/backend_api/migrations/0053_alter_staff_role_alter_staff_section_name.py @@ -0,0 +1,38 @@ +# Generated by Django 4.2.4 on 2023-11-30 08:16 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("backend_api", "0052_alter_staff_role_alter_staff_section_name"), + ] + + operations = [ + migrations.AlterField( + model_name="staff", + name="role", + field=models.CharField( + choices=[("Team Lead", "TL"), ("Member", "MB"), ("Organizer", "OR")], + default="Executive", + max_length=100, + ), + ), + migrations.AlterField( + model_name="staff", + name="section_name", + field=models.CharField( + choices=[ + ("Organizers", "OR"), + ("Executive", "EXC"), + ("Scientific", "SCI"), + ("Technical", "TCH"), + ("Graphic", "GRP"), + ("Marketing", "MRK"), + ], + default="Member", + max_length=100, + ), + ), + ] diff --git a/backend/backend_api/models.py b/backend/backend_api/models.py index 37a33e8..8fdde7e 100644 --- a/backend/backend_api/models.py +++ b/backend/backend_api/models.py @@ -438,10 +438,12 @@ def __str__(self): class Staff(models.Model): ROLE = [ ("Team Lead", "TL"), - ("Member", "MB") + ("Member", "MB"), + ("Organizer", "OR") ] SECTIONS = [ + ("Organizers", "OR"), ("Executive", "EXC"), ("Scientific", "SCI"), ("Technical", "TCH"),