added migration for events