2
0
Эх сурвалжийг харах

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

Yosef Mihretie 2 жил өмнө
parent
commit
d4edac829b

+ 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"`