diff options
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 1c8ce73011..0d49162dc8 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"` |