mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
add publickey & access
This commit is contained in:
@@ -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"`
|
||||
|
Reference in New Issue
Block a user