How can I insert data into two different tables with a single request?

I dont think you can do this easily. Maybe look into lifecycle methods - You could create a lifecycle method which creates a new row in the other table when you create the post in this table.

Though relations should already stay in sync so you shouldnt have to be updating relations

1 Like