diff options
author | Unknown <joe2010xtmf@163.com> | 2014-02-17 13:27:01 -0500 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-02-17 13:27:01 -0500 |
commit | 5da2ad743567297b965b06a8e75ab37d308b215c (patch) | |
tree | b71bf94a6155a0bb417df5a1048de4f430bf18e1 /models/models.go | |
parent | 362896479582bbe9142b604ee232d40aade0313f (diff) | |
parent | ee9bcf4d9ff41fb0cc02e53c2da2b9bfc520d54b (diff) |
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'models/models.go')
-rw-r--r-- | models/models.go | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/models/models.go b/models/models.go index 1c8ce730..0d49162d 100644 --- a/models/models.go +++ b/models/models.go @@ -4,25 +4,13 @@ package models -import ( - "time" - - "github.com/lunny/xorm" -) +import "github.com/lunny/xorm" var ( orm *xorm.Engine repoRootPath string ) -type PublicKey struct { - Id int64 - Name string `xorm:"unique not null"` - Content string `xorm:"text not null"` - Created time.Time `xorm:"created"` - Updated time.Time `xorm:"updated"` -} - type Members struct { Id int64 OrgId int64 `xorm:"unique(s) index"` |