generated event model
ran migration script for creating events table