0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 15:52:05 +01:00
gitea/modules/doctor
6543 a3a65137ba
Delete Labels & IssueLabels on Repo Delete too (#15039)
* Doctor: find IssueLabels without existing label

* on Repo Delete: delete labels & issue_labels too

* performance nits

* Add Migration: Delete orphaned IssueLabels

* Migration v174: use Sync2

* USE sess !!!

* better func name

* code format & comment

* RAW SQL

* Update models/migrations/v176.go

* next try?
2021-03-19 21:01:24 +02:00
..
authorizedkeys.go
dbconsistency.go Delete Labels & IssueLabels on Repo Delete too (#15039) 2021-03-19 21:01:24 +02:00
dbversion.go
doctor.go
mergebase.go
misc.go
paths.go
usertype.go