Skip to content

Commit

Permalink
add name field to template (#4618)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianedwards authored May 8, 2024
1 parent 5aa3214 commit 1f79481
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/models/app_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

Expand Down

0 comments on commit 1f79481

Please sign in to comment.