make relationships between event and category

as title.