Added database migration to calculate current annotation values.