From ee9bcf4d9ff41fb0cc02e53c2da2b9bfc520d54b Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 17 Feb 2014 23:57:23 +0800 Subject: add publickey & access --- models/models.go | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'models/models.go') 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"` -- cgit v1.2.3