Skip to content

Commit

Permalink
Models: Make default_job_type nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Puerto committed Feb 14, 2024
1 parent a3c7841 commit d4497c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user_workspaces_server/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Status(models.TextChoices):
datetime_created = models.DateTimeField()
workspace_details = models.JSONField()
status = models.CharField(max_length=64, default=Status.IDLE, choices=Status.choices)
default_job_type = models.CharField(max_length=64)
default_job_type = models.CharField(max_length=64, null=True)

def __str__(self):
return f"{self.id}: {self.user_id.username} - {self.status}"
Expand Down

0 comments on commit d4497c4

Please sign in to comment.