I have an application that consist of 2 entities and. The 2 entities are called Meeting and Participant.
The Meeting Entity:
The Participant entity:
What code can i use to automatically add the user who created the meeting as a participant of the meeting that has been created. The participant entry should be linked to the meeting that has just been created through the meeting_id attribute.