forgejo/models/fix.go

7 lines
120 B
Go
Raw Normal View History

2014-04-30 11:23:43 +09:00
package models
func Fix() error {
_, err := orm.Exec("alter table repository drop column num_releases")
return err
}