diff --git a/apps/wallet/models.py b/apps/wallet/models.py index 4b17b5c..b8adff7 100755 --- a/apps/wallet/models.py +++ b/apps/wallet/models.py @@ -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):