add type of event where creating a new one. DB constante