mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 01:38:20 +08:00

This is a very narrowly scoped migration to update badges.icon for two deprecated names `smile` and `share-alt`. Following on from this PR that updated the Badge seed fixture used as part of site creation: https://github.com/discourse/discourse/pull/30942 The migration logic closely follows that of the [previous DB migrations](https://github.com/discourse/discourse/pull/30100) that updated all deprecated FA icon names, just that we reduce the mappings to only look for `smile` and `share-alt`.