Skip to content

Commit

Permalink
Merge branch 'main' into pkv/claim-endpoint-budget-end-date-check
Browse files Browse the repository at this point in the history
  • Loading branch information
pxwxnvermx committed Oct 3, 2023
2 parents 4ad1c3d + f708f0c commit db59945
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.5 on 2023-10-03 14:31

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("opportunity", "0018_merge_20230919_2049"),
]

operations = [
migrations.AlterField(
model_name="opportunityclaim",
name="date_claimed",
field=models.DateField(auto_now_add=True),
),
]
2 changes: 1 addition & 1 deletion commcare_connect/opportunity/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,4 @@ class OpportunityClaim(models.Model):
opportunity_access = models.OneToOneField(OpportunityAccess, on_delete=models.CASCADE)
max_payments = models.IntegerField()
end_date = models.DateField()
date_claimed = models.DateField(auto_created=True)
date_claimed = models.DateField(auto_now_add=True)

0 comments on commit db59945

Please sign in to comment.