From 00f2b962a0da956f971dc94d75726c1bab693232 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 30 Apr 2023 04:47:32 -0400 Subject: [PATCH] fix: remove PrivateKey, rename PublicKey in Key model --- model/key.go | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/model/key.go b/model/key.go index 247b1a5..d7f1201 100644 --- a/model/key.go +++ b/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 }