fix(wallet): TODO
TODO
This commit is contained in:
parent
aee2c52a8c
commit
c0b3bb1889
1 changed files with 3 additions and 0 deletions
|
|
@ -31,6 +31,9 @@ class Account(BaseModel):
|
||||||
owner_type = models.IntegerField(choices=TypeChoices.choices, db_index=True)
|
owner_type = models.IntegerField(choices=TypeChoices.choices, db_index=True)
|
||||||
balance = models.BigIntegerField(_('balance'), default=0)
|
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()
|
objects = AccountQuerySet.as_manager()
|
||||||
|
|
||||||
def get_owner(self):
|
def get_owner(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue