Looks like I'm going to have to drop the result and workunit tables to get the database working again. Feel free to cancel any workunits you have in progress. I apologize for this but it's looking like it's the only way to get the project back on it's feet in any reasonable amount of time.

More...