fix: remove PrivateKey, rename PublicKey in Key model
This commit is contained in:
parent
48164ec320
commit
00f2b962a0
13
model/key.go
13
model/key.go
|
@ -7,11 +7,10 @@ import (
|
|||
|
||||
type Key struct {
|
||||
gorm.Model
|
||||
ID uint `gorm:"primaryKey"`
|
||||
AccountID uint
|
||||
Account Account
|
||||
PublicKey string
|
||||
PrivateKey string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
ID uint `gorm:"primaryKey"`
|
||||
AccountID uint
|
||||
Account Account
|
||||
Pubkey string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue