Files
autoglue/internal/db/models/master-key.go
2025-09-01 13:45:09 +01:00

11 lines
254 B
Go

package models
import "github.com/google/uuid"
type MasterKey struct {
ID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid();primaryKey" json:"id"`
Key string `gorm:"not null"`
IsActive bool `gorm:"default:true"`
Timestamped
}