If you have an up to date database, and restored characters from an older back up, you need to run this;
Code:
ALTER table character_ ADD column `instZflagNum` int(10) unsigned NOT NULL default '0';
ALTER table character_ ADD column `instZOrgID` int(11) NOT NULL default '0';
if you are just using an old database with the new source, then look in 'source/utils/sql/svn', all the updates you need will be there.