Przeglądaj źródła

add revision index to app revisions table (#3413)

Co-authored-by: David Townley <davidtownley@Davids-MacBook-Air.local>
d-g-town 2 lat temu
rodzic
commit
df7b9be8a0
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      internal/models/app_revision.go

+ 3 - 0
internal/models/app_revision.go

@@ -26,4 +26,7 @@ type AppRevision struct {
 
 	// PorterAppID is the ID of the PorterApp that the revision belongs to.
 	PorterAppID int `json:"porter_app_id"`
+
+	// RevisionNumber is the number of the revision respective to that porter_app_id and deployment_target_id
+	RevisionNumber int `json:"revision_number"`
 }