From 6293328cbdcdff43a097c83798d7d6604f0b8dd3 Mon Sep 17 00:00:00 2001 From: Ian Edwards Date: Tue, 7 May 2024 17:02:54 -0400 Subject: [PATCH] add name field to template --- internal/models/app_template.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/models/app_template.go b/internal/models/app_template.go index c615824709..84440d143b 100644 --- a/internal/models/app_template.go +++ b/internal/models/app_template.go @@ -12,6 +12,9 @@ type AppTemplate struct { // ID is a UUID for the AppRevision ID uuid.UUID `gorm:"type:uuid;primaryKey" json:"id"` + // Name is the name of the template, most commonly matches the app name and is unique within the project + Name string `json:"name" gorm:"default:''"` + // Base64App is the PorterApp as json encoded in base64 Base64App string `json:"base64_app"`