Add check for empty set when dropping indexes during migration (#8471)
Add check for empty set when dropping indexes during migration (#8471)

* Add check for empty set when dropping indexes during migration
go-gitea/gitea,sapk-fork/gitea,sapk-fork/gitea,typeless/gitea,lafriks/gitea,vCaesar/gitea,sapk-fork/gitea,vCaesar/gitea,sapk-fork/gitea,vdbt/gitea,typeless/gitea,vdbt/gitea,typeless/gitea,typeless/gitea,go-gitea/gitea,cez81/gitea,lafriks/gitea,lafriks/gitea,cez81/gitea,cez81/gitea,go-gitea/gitea