소스 검색

add deployment target id to porter app event table

David Townley 2 년 전
부모
커밋
a59a2ebb54
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      internal/models/porter_app_event.go

+ 2 - 0
internal/models/porter_app_event.go

@@ -27,6 +27,8 @@ type PorterAppEvent struct {
 	// PorterAppID is the ID that the given event relates to
 	PorterAppID uint  `json:"porter_app_id"`
 	Metadata    JSONB `json:"metadata" sql:"type:jsonb" gorm:"type:jsonb"`
+
+	DeploymentTargetID uuid.UUID `json:"deployment_target_id" gorm:"type:uuid;default:00000000-0000-0000-0000-000000000000"`
 }
 
 // TableName overrides the table name