mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
Previous instagram records didn’t have unique index, as a result it's seems like in some cases we have duplicate ids, which is causing issues with the associated_accounts which does have unique index. It's sorted by `updated_at DESC` on the thought that the most recent one is more likely to be the one we want to keep.