created db migration for the basic model and event schema