1
0
Fork 0
forked from forgejo/forgejo

Add transfer repository

This commit is contained in:
Unknown 2014-04-04 18:31:09 -04:00
parent ca5dcea7d1
commit eb803ec5eb
17 changed files with 198 additions and 46 deletions

View file

@ -77,8 +77,8 @@ func init() {
// PublicKey represents a SSH key of user.
type PublicKey struct {
Id int64
OwnerId int64 `xorm:"unique(s) index not null"`
Name string `xorm:"unique(s) not null"`
OwnerId int64 `xorm:" index not null"`
Name string `xorm:" not null"` //UNIQUE(s)
Fingerprint string
Content string `xorm:"TEXT not null"`
Created time.Time `xorm:"created"`