Skip to content

Commit

Permalink
Merge pull request #4339 from unicef/vision
Browse files Browse the repository at this point in the history
vision tweaks
  • Loading branch information
domdinicola authored Oct 16, 2024
2 parents e7cc5d5 + eb67393 commit 0a86e53
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/hct_mis_api/contrib/vision/migrations/0003_migration.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.2.25 on 2024-10-15 14:44
# Generated by Django 3.2.25 on 2024-10-16 13:14

from django.db import migrations, models

Expand All @@ -18,6 +18,11 @@ class Migration(migrations.Migration):
model_name='downpayment',
name='modified',
),
migrations.AlterField(
model_name='downpayment',
name='rec_serial_number',
field=models.IntegerField(primary_key=True, serialize=False),
),
migrations.RemoveField(
model_name='fundscommitment',
name='created',
Expand All @@ -26,9 +31,4 @@ class Migration(migrations.Migration):
model_name='fundscommitment',
name='modified',
),
migrations.AlterField(
model_name='downpayment',
name='rec_serial_number',
field=models.IntegerField(primary_key=True, serialize=False),
),
]
17 changes: 17 additions & 0 deletions src/hct_mis_api/contrib/vision/migrations/0004_migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 3.2.25 on 2024-10-16 13:17

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('vision', '0003_migration'),
]

operations = [
migrations.AlterUniqueTogether(
name='fundscommitment',
unique_together=set(),
),
]
3 changes: 0 additions & 3 deletions src/hct_mis_api/contrib/vision/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ class FundsCommitment(models.Model):
def __str__(self) -> str:
return self.funds_commitment_number

class Meta:
unique_together = ("funds_commitment_number", "funds_commitment_item")


class DownPayment(models.Model):
rec_serial_number = models.IntegerField(primary_key=True)
Expand Down

0 comments on commit 0a86e53

Please sign in to comment.