Is it ok to update external_id on discourse database?

Yes.. during external account merges I am respecting the oldest account… but sometimes that’s not what I need.

some accounts interact with the forum (type A, letsay) and some other accounts are not meant for that (type B).

so if they first create a type B account…
and later they create a type A account, they do sso with it on the forum

and later they merge A & B and honor the oldest account which has a different external_id

so yes…
I need to come up with a solution for my external system thingy…

but I think I will setup a daily cron that checks if any of this happened and fixup the external_ids for the moment.

thank you!