Răsfoiți Sursa

add deployment target id to porter app event table

David Townley 2 ani în urmă
părinte
comite
a59a2ebb54
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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 is the ID that the given event relates to
 	PorterAppID uint  `json:"porter_app_id"`
 	PorterAppID uint  `json:"porter_app_id"`
 	Metadata    JSONB `json:"metadata" sql:"type:jsonb" gorm:"type:jsonb"`
 	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
 // TableName overrides the table name