Use gogits/session for oauth2
This commit is contained in:
parent
9791e70da6
commit
3ebc9b991a
8 changed files with 69 additions and 70 deletions
|
@ -78,7 +78,7 @@ func init() {
|
|||
type PublicKey struct {
|
||||
Id int64
|
||||
OwnerId int64 `xorm:"unique(s) index not null"`
|
||||
Name string `xorm:"unique(s) not null"` //UNIQUE(s)
|
||||
Name string `xorm:"unique(s) not null"`
|
||||
Fingerprint string
|
||||
Content string `xorm:"TEXT not null"`
|
||||
Created time.Time `xorm:"created"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue