diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/fix.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/models/fix.go b/models/fix.go new file mode 100644 index 0000000000..9fc141bd26 --- /dev/null +++ b/models/fix.go @@ -0,0 +1,6 @@ +package models + +func Fix() error { + _, err := orm.Exec("alter table repository drop column num_releases") + return err +} |