From c0b3bb18896ce974a0572d9ec61dc0c0b5fa95d7 Mon Sep 17 00:00:00 2001 From: Haydar Ghasemi Date: Sun, 2 Nov 2025 12:33:59 +0330 Subject: [PATCH] fix(wallet): TODO TODO --- apps/wallet/models.py | 3 +++ 1 file changed, 3 insertions(+) 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):