Skip to content

Commit

Permalink
Merge pull request #52 from Kokoserver/patch-1
Browse files Browse the repository at this point in the history
Fix UUIDField max_length Argument Error in Edgy ORM asycpgn UUID does not has max_length
  • Loading branch information
tarsil authored Nov 30, 2023
2 parents 80b3bbe + 6d58743 commit 37455c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs_src/models/pk_with_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


class User(edgy.Model):
id: int = edgy.UUIDField(max_length=255, primary_key=True, default=uuid.uuid4)
id: int = edgy.UUIDField(primary_key=True, default=uuid.uuid4)
age: int = edgy.IntegerField(minimum=18)
is_active: bool = edgy.BooleanField(default=True)

Expand Down

0 comments on commit 37455c3

Please sign in to comment.