From 1f79481a48fee698ec168afa316d2a4e6260ca53 Mon Sep 17 00:00:00 2001 From: ianedwards Date: Wed, 8 May 2024 13:10:46 -0400 Subject: [PATCH] add name field to template (#4618) --- 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"`