KFSTP-1512

Remove database objects for referral type as well as the doc type for the maintenance document