Sfoglia il codice sorgente

add required app flag to app instance

Ian Edwards 2 anni fa
parent
commit
318fa87ccf
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      internal/models/app_instance.go

+ 2 - 0
internal/models/app_instance.go

@@ -25,4 +25,6 @@ type AppInstance struct {
 	PorterAppID uint `json:"porter_app_id"`
 	// DeploymentTargetID is the ID of the deployment target that the event relates to
 	DeploymentTargetID uuid.UUID `json:"deployment_target_id" gorm:"type:uuid"`
+	// IsRequiredApp indicates whether this instance of an app was listed as a requirement of another app in the deployment target
+	IsRequiredApp bool `json:"is_required_app" gorm:"default:false"`
 }