Those messages are coming from PG. Truncation of long table names occurs in PG at 31 characters. So your identifiers must be unique within those 31 chars to be... unique.