From 1e15e1831f563dea4b831cc51969c37faefa4d14 Mon Sep 17 00:00:00 2001 From: sks444 <krishnasingh.ss30@gmail.com> Date: Tue, 14 Dec 2021 23:04:39 +0530 Subject: [PATCH] Fix migrations file --- .../0042_add_external_project_id_field.py | 18 ------------------ ...external_id_for_project_and_deliverable.py} | 9 +++++++-- 2 files changed, 7 insertions(+), 20 deletions(-) delete mode 100644 hypha/apply/projects/migrations/0042_add_external_project_id_field.py rename hypha/apply/projects/migrations/{0043_deliverable_external_id.py => 0045_add_external_id_for_project_and_deliverable.py} (51%) diff --git a/hypha/apply/projects/migrations/0042_add_external_project_id_field.py b/hypha/apply/projects/migrations/0042_add_external_project_id_field.py deleted file mode 100644 index b83bb3db6..000000000 --- a/hypha/apply/projects/migrations/0042_add_external_project_id_field.py +++ /dev/null @@ -1,18 +0,0 @@ -# Generated by Django 2.2.24 on 2021-11-10 13:24 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('application_projects', '0041_payment_requests_cleanup'), - ] - - operations = [ - migrations.AddField( - model_name='project', - name='external_projectid', - field=models.CharField(blank=True, help_text='ID of this project at integrated payment service.', max_length=30), - ), - ] diff --git a/hypha/apply/projects/migrations/0043_deliverable_external_id.py b/hypha/apply/projects/migrations/0045_add_external_id_for_project_and_deliverable.py similarity index 51% rename from hypha/apply/projects/migrations/0043_deliverable_external_id.py rename to hypha/apply/projects/migrations/0045_add_external_id_for_project_and_deliverable.py index e25316a36..75bebece1 100644 --- a/hypha/apply/projects/migrations/0043_deliverable_external_id.py +++ b/hypha/apply/projects/migrations/0045_add_external_id_for_project_and_deliverable.py @@ -1,4 +1,4 @@ -# Generated by Django 2.2.24 on 2021-11-22 23:35 +# Generated by Django 2.2.24 on 2021-12-14 17:37 from django.db import migrations, models @@ -6,7 +6,7 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('application_projects', '0042_add_external_project_id_field'), + ('application_projects', '0044_add_resubmitted_status'), ] operations = [ @@ -15,4 +15,9 @@ class Migration(migrations.Migration): name='external_id', field=models.CharField(blank=True, help_text='ID of this deliverable at integrated payment service.', max_length=30), ), + migrations.AddField( + model_name='project', + name='external_projectid', + field=models.CharField(blank=True, help_text='ID of this project at integrated payment service.', max_length=30), + ), ] -- GitLab