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