Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: remove unused backup from plan (#16244)
Danny Xua65a65216f55
diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex f3084391f7..1d54015934 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -3029,7 +3029,6 @@ InstanceRole is the API message for instance role.| collation | [string](#string) | | collation is the collation of the database. || cluster | [string](#string) | | cluster is the cluster of the database. This is only applicable to ClickHouse for "ON CLUSTER <<cluster>>". || owner | [string](#string) | | owner is the owner of the database. This is only applicable to Postgres for "WITH OWNER <<owner>>". |-| backup | [string](#string) | | backup is the resource name of the backup. Format: instances/{instance}/databases/{database}/backups/{backup-name} || environment | [string](#string) | | The environment resource. Format: environments/prod where prod is the environment resource ID. |diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex 500a6ea86c..cf2a977d55 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -8496,14 +8496,6 @@ For example, in MongoDB, it only creates the database when we first store data i<td><p>owner is the owner of the database. This is only applicable to Postgres for "WITH OWNER <<owner>>". </p></td></tr>- <tr>- <td>backup</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>backup is the resource name of the backup.-Format: instances/{instance}/databases/{database}/backups/{backup-name} </p></td>- </tr>-<tr><td>environment</td><td><a href="#string">string</a></td>diff --git a/proto/generated-go/store/plan.pb.go b/proto/generated-go/store/plan.pb.goindex 29a76c7a53..ea8f57c060 100644--- a/proto/generated-go/store/plan.pb.go+++ b/proto/generated-go/store/plan.pb.go@@ -329,9 +329,6 @@ type PlanConfig_CreateDatabaseConfig struct {Cluster string `protobuf:"bytes,6,opt,name=cluster,proto3" json:"cluster,omitempty"`// owner is the owner of the database. This is only applicable to Postgres for "WITH OWNER <<owner>>".Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"`- // backup is the resource name of the backup.- // Format: instances/{instance}/databases/{database}/backups/{backup-name}- Backup string `protobuf:"bytes,8,opt,name=backup,proto3" json:"backup,omitempty"`// The environment resource.// Format: environments/prod where prod is the environment resource ID.Environment string `protobuf:"bytes,9,opt,name=environment,proto3" json:"environment,omitempty"`@@ -418,13 +415,6 @@ func (x *PlanConfig_CreateDatabaseConfig) GetOwner() string {return ""}-func (x *PlanConfig_CreateDatabaseConfig) GetBackup() string {- if x != nil {- return x.Backup- }- return ""-}-func (x *PlanConfig_CreateDatabaseConfig) GetEnvironment() string {if x != nil {return x.Environment@@ -802,7 +792,7 @@ var File_store_plan_proto protoreflect.FileDescriptorconst file_store_plan_proto_rawDesc = "" +"\n" +- "\x10store/plan.proto\x12\x0ebytebase.store\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x12store/common.proto\x1a\x1astore/plan_check_run.proto\"\x80\x11\n" ++ "\x10store/plan.proto\x12\x0ebytebase.store\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x12store/common.proto\x1a\x1astore/plan_check_run.proto\"\xe2\x10\n" +"\n" +"PlanConfig\x125\n" +"\x05steps\x18\x01 \x03(\v2\x1f.bytebase.store.PlanConfig.StepR\x05steps\x12O\n" +@@ -819,7 +809,7 @@ const file_store_plan_proto_rawDesc = "" +"\x16create_database_config\x18\x01 \x01(\v2/.bytebase.store.PlanConfig.CreateDatabaseConfigH\x00R\x14createDatabaseConfig\x12g\n" +"\x16change_database_config\x18\x02 \x01(\v2/.bytebase.store.PlanConfig.ChangeDatabaseConfigH\x00R\x14changeDatabaseConfig\x12[\n" +"\x12export_data_config\x18\a \x01(\v2+.bytebase.store.PlanConfig.ExportDataConfigH\x00R\x10exportDataConfigB\b\n" +- "\x06config\x1a\xc3\x02\n" ++ "\x06config\x1a\xa5\x02\n" +"\x14CreateDatabaseConfig\x12\x1c\n" +"\x06target\x18\x01 \x01(\tB\x04\xe2A\x01\x02R\x06target\x12 \n" +"\bdatabase\x18\x02 \x01(\tB\x04\xe2A\x01\x02R\bdatabase\x12\x1a\n" +@@ -827,8 +817,7 @@ const file_store_plan_proto_rawDesc = "" +"\rcharacter_set\x18\x04 \x01(\tB\x04\xe2A\x01\x01R\fcharacterSet\x12\"\n" +"\tcollation\x18\x05 \x01(\tB\x04\xe2A\x01\x01R\tcollation\x12\x1e\n" +"\acluster\x18\x06 \x01(\tB\x04\xe2A\x01\x01R\acluster\x12\x1a\n" +- "\x05owner\x18\a \x01(\tB\x04\xe2A\x01\x01R\x05owner\x12\x1c\n" +- "\x06backup\x18\b \x01(\tB\x04\xe2A\x01\x01R\x06backup\x12&\n" ++ "\x05owner\x18\a \x01(\tB\x04\xe2A\x01\x01R\x05owner\x12&\n" +"\venvironment\x18\t \x01(\tB\x04\xe2A\x01\x01R\venvironment\x1a\xbd\x04\n" +"\x14ChangeDatabaseConfig\x12\x16\n" +"\x06target\x18\x01 \x01(\tR\x06target\x12\x14\n" +diff --git a/proto/store/store/plan.proto b/proto/store/store/plan.protoindex e84499b002..cc1e064e2d 100644--- a/proto/store/store/plan.proto+++ b/proto/store/store/plan.proto@@ -52,9 +52,6 @@ message PlanConfig {string cluster = 6 [(google.api.field_behavior) = OPTIONAL];// owner is the owner of the database. This is only applicable to Postgres for "WITH OWNER <<owner>>".string owner = 7 [(google.api.field_behavior) = OPTIONAL];- // backup is the resource name of the backup.- // Format: instances/{instance}/databases/{database}/backups/{backup-name}- string backup = 8 [(google.api.field_behavior) = OPTIONAL];// The environment resource.// Format: environments/prod where prod is the environment resource ID.string environment = 9 [(google.api.field_behavior) = OPTIONAL];