This is the DDL code for defining the events table.