浏览代码

add required app flag to app instance

Ian Edwards 2 年之前
父节点
当前提交
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"`
 }