django.db.utils.ProgrammingError: operator does not exist: character varying = bigint
LINE 1: ... "actstream_action" U0 WHERE U0."actor_object_id" = ("accoun...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
And i have to cast the type of my ids in string each time:
So I'm trying to do some aggregations and when I try to do sth like this:
I get error:
And i have to cast the type of my ids in string each time:
Is there any way to fix this? Why can't we change the
*_object_id
to integers?