Explorar o código

add project ID to app event webhook model (#4543)

Yosef Mihretie %!s(int64=2) %!d(string=hai) anos
pai
achega
d4edac829b
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      internal/models/app_event_webhook.go

+ 3 - 0
internal/models/app_event_webhook.go

@@ -18,6 +18,9 @@ type AppEventWebhooks struct {
 	UpdatedAt sql.NullTime `db:"updated_at"`
 	DeletedAt sql.NullTime `db:"deleted_at"`
 
+	// ProjectID uniquely identifies the project this app is in
+	ProjectID uint `db:"project_id"`
+
 	// AppInstanceID uniquely identifies the application this webhook URL is configured for
 	AppInstanceID uuid.UUID `db:"app_instance_id"`