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