Use FUNCTION keyword for AGGREGATE in DDL

pff, I meant FUNCTION)