Then it’s done by the 2nd option
https://github.com/discourse/discourse/commit/a16bb32865af313e11e7799c8383bde8fdeab856