Revert "Fix missing primary key on Event entity."

This reverts commit 879d709e029605d19cd9706e41dc542532e6db92.