fix: remove PrivateKey, rename PublicKey in Key model

This commit is contained in:
Derrick Hammer 2023-04-30 04:47:32 -04:00
parent 48164ec320
commit 00f2b962a0
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 6 additions and 7 deletions

View File

@ -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
}