Update models.py

posgresql выдает ошибку

ProgrammingError at /
operator does not exist: boolean = integer
LINE 2: ...WHERE ba.wallet_id=10 AND ba.migrated_to_transactions=0), 0)

migrated_to_transactions - booleanfield
Merge pull request #1 from andrenovax/patch-1

Update models.py (operator does not exist: boolean = integer bug fix)