Skip to content

Commit

Permalink
updated default value for integer column
Browse files Browse the repository at this point in the history
  • Loading branch information
hemant10yadav committed Oct 1, 2024
1 parent 12b1448 commit a4cb2cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class Migration(migrations.Migration):
),
("last_visit_date", models.DateTimeField(blank=True, null=True)),
("date_deliver_started", models.DateTimeField(blank=True, null=True)),
("passed_assessment", models.IntegerField()),
("completed_modules_count", models.IntegerField()),
("passed_assessment", models.IntegerField(default=0)),
("completed_modules_count", models.IntegerField(default=0)),
("job_claimed", models.DateTimeField(null=True)),
("date_learn_completed", models.DateTimeField(null=True)),
(
Expand Down
4 changes: 2 additions & 2 deletions commcare_connect/opportunity/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,8 +691,8 @@ class UserInviteSummary(models.Model):
status = models.CharField(max_length=50, choices=UserInviteStatus.choices, default=UserInviteStatus.invited)
last_visit_date = models.DateTimeField(null=True, blank=True)
date_deliver_started = models.DateTimeField(null=True, blank=True)
passed_assessment = models.IntegerField()
completed_modules_count = models.IntegerField()
passed_assessment = models.IntegerField(default=0)
completed_modules_count = models.IntegerField(default=0)
job_claimed = models.DateTimeField(null=True)
date_learn_completed = models.DateTimeField(null=True)

Expand Down

0 comments on commit a4cb2cf

Please sign in to comment.