Where can I find the DB schema that Zimbra expects?

I have run into a problem similar to https://www.zimbra.com/forums/admini...ugrade-v8.html

The key issue is this one exception:

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorEx ception: Unknown column 'mi.locator' in 'field list'

This occurs when I try to update my task/todo list. I think I'm the only person who uses task lists, though. More of my users are generating the following exception:

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorEx ception: Table 'zimbra.pending_acl_push' doesn't exist

These were likely caused by some problems I worked around during upgrading. Obviously, I did something wrong. But I think they can be solved by fixing the schema problems.