Skip to content

Commit

Permalink
Revert "fix: remove null=True from UserOrigin.origin_id"
Browse files Browse the repository at this point in the history
This reverts commit 60fe755.

Refs: HAUKI-656
  • Loading branch information
charn committed Aug 9, 2024
1 parent e080bd8 commit 88d4ce4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 42 deletions.
21 changes: 0 additions & 21 deletions users/migrations/0004_alter_userorigin_origin_id.py

This file was deleted.

2 changes: 1 addition & 1 deletion users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class UserOrigin(models.Model):
user = models.ForeignKey(User, related_name="origins", on_delete=models.CASCADE)
data_source = models.ForeignKey("hours.DataSource", on_delete=models.CASCADE)
origin_id = models.CharField(
verbose_name=_("Origin ID"), max_length=100, blank=True
verbose_name=_("Origin ID"), max_length=100, null=True, blank=True
)

class Meta:
Expand Down
6 changes: 0 additions & 6 deletions users/tests/conftest.py

This file was deleted.

14 changes: 0 additions & 14 deletions users/tests/test_models.py

This file was deleted.

0 comments on commit 88d4ce4

Please sign in to comment.