Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(plan): tweak comment (#16118)

boojack975c940b1fd4
diff --git a/frontend/src/types/proto/v1/plan_service.ts b/frontend/src/types/proto/v1/plan_service.ts
index 9b56f1ba69..2cf764daf9 100644
--- a/frontend/src/types/proto/v1/plan_service.ts
+++ b/frontend/src/types/proto/v1/plan_service.ts
@@ -137,7 +137,8 @@ export interface Plan {
*/
name: string;
/**
- * The resource name of the issue associated with this plan.
+ * The issue associated with the plan.
+ * Can be empty.
* Format: projects/{project}/issues/{issue}
*/
issue: string;
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index b85090549f..230ccc6845 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -10974,7 +10974,8 @@ components:
issue:
type: string
description: |-
- The resource name of the issue associated with this plan.
+ The issue associated with the plan.
+ Can be empty.
Format: projects/{project}/issues/{issue}
title:
type: string
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index aabb50597b..28a595f2ef 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -7414,7 +7414,7 @@ When paginating, all other parameters provided to `ListPlans` must match the cal
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| name | [string](#string) | | The name of the plan. `plan` is a system generated ID. Format: projects/{project}/plans/{plan} |
-| issue | [string](#string) | | The resource name of the issue associated with this plan. Format: projects/{project}/issues/{issue} |
+| issue | [string](#string) | | The issue associated with the plan. Can be empty. Format: projects/{project}/issues/{issue} |
| title | [string](#string) | | |
| description | [string](#string) | | |
| steps | [Plan.Step](#bytebase-v1-Plan-Step) | repeated | |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index aff6c61709..63a1f22ad7 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -20710,7 +20710,8 @@ Format: projects/{project}/plans/{plan} </p></td>
<td>issue</td>
<td><a href="#string">string</a></td>
<td></td>
- <td><p>The resource name of the issue associated with this plan.
+ <td><p>The issue associated with the plan.
+Can be empty.
Format: projects/{project}/issues/{issue} </p></td>
</tr>
diff --git a/proto/generated-go/v1/plan_service.pb.go b/proto/generated-go/v1/plan_service.pb.go
index 5be9b1efbd..91c6ee801e 100644
--- a/proto/generated-go/v1/plan_service.pb.go
+++ b/proto/generated-go/v1/plan_service.pb.go
@@ -693,7 +693,8 @@ type Plan struct {
// `plan` is a system generated ID.
// Format: projects/{project}/plans/{plan}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The resource name of the issue associated with this plan.
+ // The issue associated with the plan.
+ // Can be empty.
// Format: projects/{project}/issues/{issue}
Issue string `protobuf:"bytes,3,opt,name=issue,proto3" json:"issue,omitempty"`
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
diff --git a/proto/v1/v1/plan_service.proto b/proto/v1/v1/plan_service.proto
index b400dc431c..4f16947ebc 100644
--- a/proto/v1/v1/plan_service.proto
+++ b/proto/v1/v1/plan_service.proto
@@ -221,7 +221,8 @@ message Plan {
// Format: projects/{project}/plans/{plan}
string name = 1;
- // The resource name of the issue associated with this plan.
+ // The issue associated with the plan.
+ // Can be empty.
// Format: projects/{project}/issues/{issue}
string issue = 3;