Changed events db from camel case to snake case