model and migration for event name