We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 746cf22 commit f7c46dfCopy full SHA for f7c46df
models/ssh_key.go
@@ -51,7 +51,7 @@ type PublicKey struct {
51
ID int64 `xorm:"pk autoincr"`
52
OwnerID int64 `xorm:"INDEX NOT NULL"`
53
Name string `xorm:"NOT NULL"`
54
- Fingerprint string `xorm:"NOT NULL"`
+ Fingerprint string `xorm:"INDEX NOT NULL"`
55
Content string `xorm:"TEXT NOT NULL"`
56
Mode AccessMode `xorm:"NOT NULL DEFAULT 2"`
57
Type KeyType `xorm:"NOT NULL DEFAULT 1"`
0 commit comments