Add transforms and ast type for database field references