From 56f0be69f7c7eda3895044d12ab8eb599222b9eb Mon Sep 17 00:00:00 2001 From: Dhruv Shah Date: Tue, 9 Apr 2024 12:42:16 +0530 Subject: [PATCH] migr: fix stupid broken migration --- ...nization_event_organizing_body_and_more.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 student_welfare_backend/student_welfare_backend/core/migrations/0017_rename_organization_event_organizing_body_and_more.py 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')}, + ), + ]