summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-30 03:44:32 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-30 03:44:32 -0400
commitb36448a537e67da85d34d47781eeccef3df86ac5 (patch)
treeaee62b26bef0e5469f3f479a635a56b02b4b79ad /models
parent48bfbb7ddf09103b80cea3e3c804abd4da0a01f1 (diff)
parenta85f242030f8fa0d74c9d82485d0649926bc6db4 (diff)
downloadgitea-b36448a537e67da85d34d47781eeccef3df86ac5.tar.gz
gitea-b36448a537e67da85d34d47781eeccef3df86ac5.zip
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'models')
-rw-r--r--models/fix.go6
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
+}