Update database schema to support npc defeat custom code.