fixed the SQL table class for ingredients