portal/db/models/public_key.go

11 lines
118 B
Go
Raw Normal View History

package models
import "gorm.io/gorm"
type PublicKey struct {
gorm.Model
UserID uint
Key string
User User
}