1
0
Fork 0
forked from forgejo/forgejo

quick fix

This commit is contained in:
Unknwon 2014-11-17 16:29:23 -05:00
parent 5d9ef2bb12
commit 1e47e2df85
3 changed files with 3 additions and 1 deletions

View file

@ -81,7 +81,7 @@ type PublicKey struct {
Id int64
OwnerId int64 `xorm:"UNIQUE(s) INDEX NOT NULL"`
Name string `xorm:"UNIQUE(s) NOT NULL"`
Fingerprint string `xorm:"UNIQUE NOT NULL"`
Fingerprint string `xorm:"INDEX NOT NULL"`
Content string `xorm:"TEXT NOT NULL"`
Created time.Time `xorm:"CREATED"`
Updated time.Time