If you are running the latest (or recent) SVN source, you need to make sure to run all of the SQL source since the database version you are running. I think you specifically need the ones that are from around rev1500, but I don't know which revision your version of the DB was made for.
http://code.google.com/p/projecteqem.../utils/sql/svn