Schema update: add handled column to threads