Skip to content

Commit

Permalink
new column into rez added
Browse files Browse the repository at this point in the history
  • Loading branch information
gprelatto committed Sep 20, 2021
1 parent 0cf159c commit 6045bad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ class rez(models.Model):
updated_at = models.DateTimeField(null=True)
deleted_at = models.DateTimeField(null=True)
tickets_count = models.DecimalField(max_digits = 8,decimal_places = 2, null = True)
people_count = models.DecimalField(max_digits = 8,decimal_places = 2, null = True)
people_count = models.DecimalField(max_digits = 8,decimal_places = 2, null = True)
due_date = models.DateTimeField(null=True)
def soft_delete(self):
self.deleted_at = date.today()
self.save()
Expand Down

0 comments on commit 6045bad

Please sign in to comment.