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 {
|
type Key struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
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