Plan/DB: Added enum for total plans tables.