Просмотр исходного кода

add required app flag to app instance

Ian Edwards 2 лет назад
Родитель
Сommit
318fa87ccf
1 измененных файлов с 2 добавлено и 0 удалено
  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"`
 }