* Fix migration when encountering a NULL entity_id/event_type reported in #beta on discord * simplify