fix database migration
curriculum: subject category can be marked as obsolete