mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 18:02:28 +02:00
fix gpg wrong column types
This commit is contained in:
parent
430cc4f42a
commit
608cd54a68
3 changed files with 54 additions and 2 deletions
|
@ -20,8 +20,8 @@ import (
|
|||
type GPGKey struct {
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
OwnerID int64 `xorm:"INDEX NOT NULL"`
|
||||
KeyID string `xorm:"INDEX TEXT NOT NULL"`
|
||||
PrimaryKeyID string `xorm:"TEXT"`
|
||||
KeyID string `xorm:"INDEX CHAR(16) NOT NULL"`
|
||||
PrimaryKeyID string `xorm:"CHAR(16)"`
|
||||
Content string `xorm:"TEXT NOT NULL"`
|
||||
Created time.Time `xorm:"-"`
|
||||
CreatedUnix int64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue