fix(wallet): TODO

TODO
This commit is contained in:
Haydar Ghasemi 2025-11-02 12:33:59 +03:30
parent aee2c52a8c
commit c0b3bb1889

View file

@ -31,6 +31,9 @@ class Account(BaseModel):
owner_type = models.IntegerField(choices=TypeChoices.choices, db_index=True)
balance = models.BigIntegerField(_('balance'), default=0)
# TODO: unique together wallet and owner_uuid
# TODO: performance check for performance issue of unique together
objects = AccountQuerySet.as_manager()
def get_owner(self):