Extract search users functions into a service (#39002)
* Extract search users to a new service * Fix wire provider * Fix common_test and remove RouteRegister * Remove old endpoints * Fix test * Add indexes to dashboards and orgs tables * Fix lint
This commit is contained in:
@@ -225,4 +225,9 @@ func addDashboardMigration(mg *Migrator) {
|
||||
|
||||
mg.AddMigration("delete stars for deleted dashboards", NewRawSQLMigration(
|
||||
"DELETE FROM star WHERE dashboard_id NOT IN (SELECT id FROM dashboard)"))
|
||||
|
||||
mg.AddMigration("Add index for dashboard_is_folder", NewAddIndexMigration(dashboardV2, &Index{
|
||||
Cols: []string{"is_folder"},
|
||||
Type: IndexType,
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user