mirror of
https://github.com/gogs/gogs.git
synced 2026-03-06 12:11:00 +01:00
fix UNIQUE
This commit is contained in:
@@ -90,7 +90,7 @@ type PublicKey struct {
|
||||
OwnerID int64 `xorm:"INDEX NOT NULL"`
|
||||
Name string `xorm:"NOT NULL"`
|
||||
Fingerprint string `xorm:"NOT NULL"`
|
||||
Content string `xorm:"UNIQUE TEXT NOT NULL"`
|
||||
Content string `xorm:"TEXT NOT NULL"`
|
||||
Mode AccessMode `xorm:"NOT NULL DEFAULT 2"`
|
||||
Type KeyType `xorm:"NOT NULL DEFAULT 1"`
|
||||
Created time.Time `xorm:"CREATED"`
|
||||
|
||||
Reference in New Issue
Block a user