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

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