external_services: use SQL to get distinct kinds
Created by: unknwon
Instead of listing all external services then get distinct kinds, we do it in SQL.
Part of #12760.
Created by: unknwon
Instead of listing all external services then get distinct kinds, we do it in SQL.
Part of #12760.