Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
workflow: adding default to workflow core and is_update field
Browse files Browse the repository at this point in the history
  • Loading branch information
DonHaul committed Jun 19, 2024
1 parent db4280c commit 3110502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backoffice/workflows/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class Workflow(models.Model):
choices=STATUS_CHOICES,
default=DEFAULT_STATUS_CHOICE,
)
core = models.BooleanField()
is_update = models.BooleanField()
core = models.BooleanField(default=False)
is_update = models.BooleanField(default=False)

_created_at = models.DateTimeField(auto_now_add=True)
_updated_at = models.DateTimeField(auto_now=True)
Expand Down

0 comments on commit 3110502

Please sign in to comment.