diff --git a/student_welfare_backend/student_welfare_backend/core/migrations/0017_rename_organization_event_organizing_body_and_more.py b/student_welfare_backend/student_welfare_backend/core/migrations/0017_rename_organization_event_organizing_body_and_more.py new file mode 100644 index 0000000..e2395b4 --- /dev/null +++ b/student_welfare_backend/student_welfare_backend/core/migrations/0017_rename_organization_event_organizing_body_and_more.py @@ -0,0 +1,22 @@ +# Generated by Django 4.0.10 on 2024-04-09 06:00 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0016_alter_organization_options_and_more'), + ] + + operations = [ + migrations.RenameField( + model_name='event', + old_name='organization', + new_name='organizing_body', + ), + migrations.AlterUniqueTogether( + name='event', + unique_together={('name', 'organizing_body')}, + ), + ]