Преглед на файлове

add deployment target id to porter app event table

David Townley преди 3 години
родител
ревизия
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