Update Belongs to One to Has many
Hello all,
In my datamodel, I have relations Belongs to one (attached).
I would like to update this field "Has many".
in this example, a People could have founded several Companies.
Is it feasible in the DB directly or will I break everything?
Thanks
5 Replies
Hi @iero , it is not possible to update the field to change the relation direction. Could you consider erasing this relation field and creating a new one?
Hi @marie
Thanks for your reply
Yes I can do that, but can I erase the relation field? When I try that it is just desactivated and so I cannot recreate one with the same name
Hi @iero
once you have deactivated the field, you can erase it from the "Inactive" section in the product:
Oh! Thanks @marie I didn't know that!
Thanks for the feedback, we will try to make that clearer !