summaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index d0703be300..e0dd3ed2a4 100644
--- a/models/models.go
+++ b/models/models.go
@@ -45,6 +45,7 @@ type Engine interface {
SQL(interface{}, ...interface{}) *xorm.Session
Where(interface{}, ...interface{}) *xorm.Session
Asc(colNames ...string) *xorm.Session
+ Desc(colNames ...string) *xorm.Session
Limit(limit int, start ...int) *xorm.Session
SumInt(bean interface{}, columnName string) (res int64, err error)
}
@@ -125,6 +126,9 @@ func init() {
new(Task),
new(LanguageStat),
new(EmailHash),
+ new(Project),
+ new(ProjectBoard),
+ new(ProjectIssue),
)
gonicNames := []string{"SSL", "UID"}