This repository has been archived on 2024-01-11. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/models/fix.go
2014-04-30 10:23:43 +08:00

6 lines
120 B
Go

package models
func Fix() error {
_, err := orm.Exec("alter table repository drop column num_releases")
return err
}