Migration issues with GUID category names

Hi guys,

We tried to migrate our instances from v2.1.7 to v2.3.0, and we’ve encountered the following scenario.


We did the following steps (always on stable branch):

v2.1.7v2.2.0v2.2.1v2.3.0 (here it’s when categories like Staff, Uncategorized, Lounge and Site Feedback get those extra categories/messages.).

If we try to delete those categories/messages, next time db:migrate is executed they will appear again and again.

Anyone has the same issue/has a workaround for it?


PS: Maybe related to this issue https://github.com/discourse/discourse/pull/7110/ ?