add event db schema