Pārlūkot izejas kodu

add revision index to app revisions table (#3413)

Co-authored-by: David Townley <davidtownley@Davids-MacBook-Air.local>
d-g-town 2 gadi atpakaļ
vecāks
revīzija
df7b9be8a0
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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 is the ID of the PorterApp that the revision belongs to.
 	PorterAppID int `json:"porter_app_id"`
 	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"`
 }
 }