aboutsummaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-02-17 23:57:23 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-02-17 23:57:23 +0800
commitee9bcf4d9ff41fb0cc02e53c2da2b9bfc520d54b (patch)
tree93d530cc5112efc23e5fd313e6d2cad3f9aed334 /models/models.go
parentb1c5adc2f206b855ccf19eaf492fd86a86e2befc (diff)
downloadgitea-ee9bcf4d9ff41fb0cc02e53c2da2b9bfc520d54b.tar.gz
gitea-ee9bcf4d9ff41fb0cc02e53c2da2b9bfc520d54b.zip
add publickey & access
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go14
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"`