lock gopmfile

This commit is contained in:
Unknwon 2014-11-17 16:25:39 -05:00
parent d21d7171b0
commit 5d9ef2bb12
6 changed files with 15 additions and 13 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:"INDEX NOT NULL"`
Fingerprint string `xorm:"UNIQUE NOT NULL"`
Content string `xorm:"TEXT NOT NULL"`
Created time.Time `xorm:"CREATED"`
Updated time.Time