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: no plan schema version (#16263)
Danny Xud9e803152a4e
diff --git a/backend/api/v1/plan_service.go b/backend/api/v1/plan_service.goindex f08d772e39..e40c4f8b17 100644--- a/backend/api/v1/plan_service.go+++ b/backend/api/v1/plan_service.go@@ -616,22 +616,6 @@ func (s *PlanService) UpdatePlan(ctx context.Context, request *v1pb.UpdatePlanRereturn nil, err}- // version- if err := func() error {- switch newTaskType {- case base.TaskDatabaseSchemaUpdate, base.TaskDatabaseSchemaUpdateGhost, base.TaskDatabaseDataUpdate:- default:- return nil- }- if v := spec.GetChangeDatabaseConfig().GetSchemaVersion(); v != "" && v != task.Payload.GetSchemaVersion() {- taskPatch.SchemaVersion = &v- doUpdate = true- }- return nil- }(); err != nil {- return nil, err- }-if !doUpdate {continue}@@ -1145,10 +1129,9 @@ func getSpecs(database *store.DatabaseMessage, revisions []*store.RevisionMessag},Config: &v1pb.Plan_Spec_ChangeDatabaseConfig{ChangeDatabaseConfig: &v1pb.Plan_ChangeDatabaseConfig{- Type: convertReleaseFileChangeTypeToPlanSpecType(file.ChangeType),- Target: common.FormatDatabase(database.InstanceID, database.DatabaseName),- Sheet: file.Sheet,- SchemaVersion: file.Version,+ Type: convertReleaseFileChangeTypeToPlanSpecType(file.ChangeType),+ Target: common.FormatDatabase(database.InstanceID, database.DatabaseName),+ Sheet: file.Sheet,},},}diff --git a/backend/api/v1/rollout_service_converter.go b/backend/api/v1/rollout_service_converter.goindex dc8f3bf19a..d9dc281bb2 100644--- a/backend/api/v1/rollout_service_converter.go+++ b/backend/api/v1/rollout_service_converter.go@@ -110,11 +110,10 @@ func convertToPlanSpecChangeDatabaseConfig(config *storepb.PlanConfig_Spec_Changc := config.ChangeDatabaseConfigreturn &v1pb.Plan_Spec_ChangeDatabaseConfig{ChangeDatabaseConfig: &v1pb.Plan_ChangeDatabaseConfig{- Target: c.Target,- Sheet: c.Sheet,- Type: convertToPlanSpecChangeDatabaseConfigType(c.Type),- SchemaVersion: c.SchemaVersion,- GhostFlags: c.GhostFlags,+ Target: c.Target,+ Sheet: c.Sheet,+ Type: convertToPlanSpecChangeDatabaseConfigType(c.Type),+ GhostFlags: c.GhostFlags,PreUpdateBackupDetail: &v1pb.Plan_ChangeDatabaseConfig_PreUpdateBackupDetail{Database: c.PreUpdateBackupDetail.GetDatabase(),},@@ -290,7 +289,6 @@ func convertPlanSpecChangeDatabaseConfig(config *v1pb.Plan_Spec_ChangeDatabaseCoTarget: c.Target,Sheet: c.Sheet,Type: storepb.PlanConfig_ChangeDatabaseConfig_Type(c.Type),- SchemaVersion: c.SchemaVersion,GhostFlags: c.GhostFlags,PreUpdateBackupDetail: preUpdateBackupDetail,},diff --git a/backend/api/v1/rollout_service_task.go b/backend/api/v1/rollout_service_task.goindex f86f4e8807..754663bb33 100644--- a/backend/api/v1/rollout_service_task.go+++ b/backend/api/v1/rollout_service_task.go@@ -351,9 +351,8 @@ func getTaskCreatesFromChangeDatabaseConfigDatabaseTarget(ctx context.Context, sEnvironmentID: database.EffectiveEnvironmentID,Type: base.TaskDatabaseSchemaUpdate,Payload: &storepb.TaskPayload{- SpecId: spec.Id,- SheetId: int32(sheetUID),- SchemaVersion: c.SchemaVersion,+ SpecId: spec.Id,+ SheetId: int32(sheetUID),TaskReleaseSource: &storepb.TaskReleaseSource{File: spec.SpecReleaseSource.GetFile(),},@@ -375,10 +374,9 @@ func getTaskCreatesFromChangeDatabaseConfigDatabaseTarget(ctx context.Context, sEnvironmentID: database.EffectiveEnvironmentID,Type: base.TaskDatabaseSchemaUpdateGhost,Payload: &storepb.TaskPayload{- SpecId: spec.Id,- SheetId: int32(sheetUID),- SchemaVersion: c.SchemaVersion,- Flags: c.GhostFlags,+ SpecId: spec.Id,+ SheetId: int32(sheetUID),+ Flags: c.GhostFlags,TaskReleaseSource: &storepb.TaskReleaseSource{File: spec.SpecReleaseSource.GetFile(),},@@ -403,7 +401,6 @@ func getTaskCreatesFromChangeDatabaseConfigDatabaseTarget(ctx context.Context, sPayload: &storepb.TaskPayload{SpecId: spec.Id,SheetId: int32(sheetUID),- SchemaVersion: c.SchemaVersion,PreUpdateBackupDetail: preUpdateBackupDetail,TaskReleaseSource: &storepb.TaskReleaseSource{File: spec.SpecReleaseSource.GetFile(),diff --git a/frontend/src/components/Release/ReleaseDetail/NavBar/PreviewPlanDetail.vue b/frontend/src/components/Release/ReleaseDetail/NavBar/PreviewPlanDetail.vueindex acd8f2cced..375f914f47 100644--- a/frontend/src/components/Release/ReleaseDetail/NavBar/PreviewPlanDetail.vue+++ b/frontend/src/components/Release/ReleaseDetail/NavBar/PreviewPlanDetail.vue@@ -21,7 +21,7 @@/><div class="w-full truncate space-x-1"><NTag round :size="'small'">- {{ specReleaseVersion(spec) }}+ "TODO(d): version"</NTag><span class="text-sm">{{@@ -177,10 +177,6 @@ const shouldShowAppliedAlert = computed(() => {);});-const specReleaseVersion = (spec: Plan_Spec): string => {- return spec.changeDatabaseConfig!.schemaVersion;-};-const getFileByName = (name: string) => {return props.release.files.find((file) => name.endsWith(`files/${file.id}`));};diff --git a/frontend/src/types/proto/v1/plan_service.ts b/frontend/src/types/proto/v1/plan_service.tsindex 480dad3038..11a9a911e6 100644--- a/frontend/src/types/proto/v1/plan_service.ts+++ b/frontend/src/types/proto/v1/plan_service.ts@@ -225,11 +225,6 @@ export interface Plan_ChangeDatabaseConfig {*/sheet: string;type: Plan_ChangeDatabaseConfig_Type;- /**- * schema_version is parsed from file name.- * It is automatically generated in the UI workflow.- */- schemaVersion: string;ghostFlags: { [key: string]: string };/** If set, a backup of the modified data will be created automatically before any changes are applied. */preUpdateBackupDetail?: Plan_ChangeDatabaseConfig_PreUpdateBackupDetail | undefined;@@ -1929,7 +1924,6 @@ function createBasePlan_ChangeDatabaseConfig(): Plan_ChangeDatabaseConfig {target: "",sheet: "",type: Plan_ChangeDatabaseConfig_Type.TYPE_UNSPECIFIED,- schemaVersion: "",ghostFlags: {},preUpdateBackupDetail: undefined,};@@ -1946,9 +1940,6 @@ export const Plan_ChangeDatabaseConfig: MessageFns<Plan_ChangeDatabaseConfig> =if (message.type !== Plan_ChangeDatabaseConfig_Type.TYPE_UNSPECIFIED) {writer.uint32(24).int32(plan_ChangeDatabaseConfig_TypeToNumber(message.type));}- if (message.schemaVersion !== "") {- writer.uint32(34).string(message.schemaVersion);- }Object.entries(message.ghostFlags).forEach(([key, value]) => {Plan_ChangeDatabaseConfig_GhostFlagsEntry.encode({ key: key as any, value }, writer.uint32(58).fork()).join();});@@ -1990,14 +1981,6 @@ export const Plan_ChangeDatabaseConfig: MessageFns<Plan_ChangeDatabaseConfig> =message.type = plan_ChangeDatabaseConfig_TypeFromJSON(reader.int32());continue;}- case 4: {- if (tag !== 34) {- break;- }-- message.schemaVersion = reader.string();- continue;- }case 7: {if (tag !== 58) {break;@@ -2040,9 +2023,6 @@ export const Plan_ChangeDatabaseConfig: MessageFns<Plan_ChangeDatabaseConfig> =if (message.type !== Plan_ChangeDatabaseConfig_Type.TYPE_UNSPECIFIED) {obj.type = plan_ChangeDatabaseConfig_TypeToJSON(message.type);}- if (message.schemaVersion !== "") {- obj.schemaVersion = message.schemaVersion;- }if (message.ghostFlags) {const entries = Object.entries(message.ghostFlags);if (entries.length > 0) {@@ -2066,7 +2046,6 @@ export const Plan_ChangeDatabaseConfig: MessageFns<Plan_ChangeDatabaseConfig> =message.target = object.target ?? "";message.sheet = object.sheet ?? "";message.type = object.type ?? Plan_ChangeDatabaseConfig_Type.TYPE_UNSPECIFIED;- message.schemaVersion = object.schemaVersion ?? "";message.ghostFlags = Object.entries(object.ghostFlags ?? {}).reduce<{ [key: string]: string }>((acc, [key, value]) => {if (value !== undefined) {diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 7a73ebfe41..a3ae832715 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -11200,11 +11200,6 @@ components:- DATAtype: stringformat: enum- schemaVersion:- type: string- description: |-- schema_version is parsed from file name.- It is automatically generated in the UI workflow.ghostFlags:type: objectadditionalProperties:diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex 695e1a9de9..4ce7a5f2c9 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -2987,7 +2987,6 @@ InstanceRole is the API message for instance role.| target | [string](#string) | | The resource name of the target. Format: instances/{instance-id}/databases/{database-name}. Format: projects/{project}/databaseGroups/{databaseGroup}. || sheet | [string](#string) | | The resource name of the sheet. Format: projects/{project}/sheets/{sheet} || type | [PlanConfig.ChangeDatabaseConfig.Type](#bytebase-store-PlanConfig-ChangeDatabaseConfig-Type) | | |-| schema_version | [string](#string) | | schema_version is parsed from file name. It is automatically generated in the UI workflow. || ghost_flags | [PlanConfig.ChangeDatabaseConfig.GhostFlagsEntry](#bytebase-store-PlanConfig-ChangeDatabaseConfig-GhostFlagsEntry) | repeated | || pre_update_backup_detail | [PreUpdateBackupDetail](#bytebase-store-PreUpdateBackupDetail) | optional | If set, a backup of the modified data will be created automatically before any changes are applied. |diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex 72ca99a18c..f04586510f 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -8364,14 +8364,6 @@ Format: projects/{project}/sheets/{sheet} </p></td><td><p> </p></td></tr>- <tr>- <td>schema_version</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>schema_version is parsed from file name.-It is automatically generated in the UI workflow. </p></td>- </tr>-<tr><td>ghost_flags</td><td><a href="#bytebase.store.PlanConfig.ChangeDatabaseConfig.GhostFlagsEntry">PlanConfig.ChangeDatabaseConfig.GhostFlagsEntry</a></td>diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex eddd4f8ac5..a4e7e7ee65 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -7337,7 +7337,6 @@ When paginating, all other parameters provided to `ListPlans` must match the cal| target | [string](#string) | | The resource name of the target. Format: instances/{instance-id}/databases/{database-name}. Format: projects/{project}/databaseGroups/{databaseGroup}. || sheet | [string](#string) | | The resource name of the sheet. Format: projects/{project}/sheets/{sheet} || type | [Plan.ChangeDatabaseConfig.Type](#bytebase-v1-Plan-ChangeDatabaseConfig-Type) | | |-| schema_version | [string](#string) | | schema_version is parsed from file name. It is automatically generated in the UI workflow. || ghost_flags | [Plan.ChangeDatabaseConfig.GhostFlagsEntry](#bytebase-v1-Plan-ChangeDatabaseConfig-GhostFlagsEntry) | repeated | || pre_update_backup_detail | [Plan.ChangeDatabaseConfig.PreUpdateBackupDetail](#bytebase-v1-Plan-ChangeDatabaseConfig-PreUpdateBackupDetail) | optional | If set, a backup of the modified data will be created automatically before any changes are applied. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex 04295d342f..8e5989e655 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -20501,14 +20501,6 @@ Format: projects/{project}/sheets/{sheet} </p></td><td><p> </p></td></tr>- <tr>- <td>schema_version</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>schema_version is parsed from file name.-It is automatically generated in the UI workflow. </p></td>- </tr>-<tr><td>ghost_flags</td><td><a href="#bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntry">Plan.ChangeDatabaseConfig.GhostFlagsEntry</a></td>diff --git a/proto/generated-go/store/plan.pb.go b/proto/generated-go/store/plan.pb.goindex 91aee37c81..1f76ff1a83 100644--- a/proto/generated-go/store/plan.pb.go+++ b/proto/generated-go/store/plan.pb.go@@ -376,12 +376,9 @@ type PlanConfig_ChangeDatabaseConfig struct {Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`// The resource name of the sheet.// Format: projects/{project}/sheets/{sheet}- Sheet string `protobuf:"bytes,2,opt,name=sheet,proto3" json:"sheet,omitempty"`- Type PlanConfig_ChangeDatabaseConfig_Type `protobuf:"varint,3,opt,name=type,proto3,enum=bytebase.store.PlanConfig_ChangeDatabaseConfig_Type" json:"type,omitempty"`- // schema_version is parsed from file name.- // It is automatically generated in the UI workflow.- SchemaVersion string `protobuf:"bytes,4,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`- GhostFlags map[string]string `protobuf:"bytes,7,rep,name=ghost_flags,json=ghostFlags,proto3" json:"ghost_flags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`+ Sheet string `protobuf:"bytes,2,opt,name=sheet,proto3" json:"sheet,omitempty"`+ Type PlanConfig_ChangeDatabaseConfig_Type `protobuf:"varint,3,opt,name=type,proto3,enum=bytebase.store.PlanConfig_ChangeDatabaseConfig_Type" json:"type,omitempty"`+ GhostFlags map[string]string `protobuf:"bytes,7,rep,name=ghost_flags,json=ghostFlags,proto3" json:"ghost_flags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`// If set, a backup of the modified data will be created automatically before any changes are applied.PreUpdateBackupDetail *PreUpdateBackupDetail `protobuf:"bytes,8,opt,name=pre_update_backup_detail,json=preUpdateBackupDetail,proto3,oneof" json:"pre_update_backup_detail,omitempty"`unknownFields protoimpl.UnknownFields@@ -439,13 +436,6 @@ func (x *PlanConfig_ChangeDatabaseConfig) GetType() PlanConfig_ChangeDatabaseConreturn PlanConfig_ChangeDatabaseConfig_TYPE_UNSPECIFIED}-func (x *PlanConfig_ChangeDatabaseConfig) GetSchemaVersion() string {- if x != nil {- return x.SchemaVersion- }- return ""-}-func (x *PlanConfig_ChangeDatabaseConfig) GetGhostFlags() map[string]string {if x != nil {return x.GhostFlags@@ -738,7 +728,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\"\x8d\x10\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\"\xe6\x0f\n" +"\n" +"PlanConfig\x125\n" +"\x05specs\x18\x01 \x03(\v2\x1f.bytebase.store.PlanConfig.SpecR\x05specs\x12O\n" +@@ -761,12 +751,11 @@ const file_store_plan_proto_rawDesc = "" +"\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&\n" +- "\venvironment\x18\t \x01(\tB\x04\xe2A\x01\x01R\venvironment\x1a\xbd\x04\n" ++ "\venvironment\x18\t \x01(\tB\x04\xe2A\x01\x01R\venvironment\x1a\x96\x04\n" +"\x14ChangeDatabaseConfig\x12\x16\n" +"\x06target\x18\x01 \x01(\tR\x06target\x12\x14\n" +"\x05sheet\x18\x02 \x01(\tR\x05sheet\x12H\n" +- "\x04type\x18\x03 \x01(\x0e24.bytebase.store.PlanConfig.ChangeDatabaseConfig.TypeR\x04type\x12%\n" +- "\x0eschema_version\x18\x04 \x01(\tR\rschemaVersion\x12`\n" ++ "\x04type\x18\x03 \x01(\x0e24.bytebase.store.PlanConfig.ChangeDatabaseConfig.TypeR\x04type\x12`\n" +"\vghost_flags\x18\a \x03(\v2?.bytebase.store.PlanConfig.ChangeDatabaseConfig.GhostFlagsEntryR\n" +"ghostFlags\x12c\n" +"\x18pre_update_backup_detail\x18\b \x01(\v2%.bytebase.store.PreUpdateBackupDetailH\x00R\x15preUpdateBackupDetail\x88\x01\x01\x1a=\n" +diff --git a/proto/generated-go/v1/plan_service.pb.go b/proto/generated-go/v1/plan_service.pb.goindex 03d6361463..1c6d707410 100644--- a/proto/generated-go/v1/plan_service.pb.go+++ b/proto/generated-go/v1/plan_service.pb.go@@ -1666,12 +1666,9 @@ type Plan_ChangeDatabaseConfig struct {Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`// The resource name of the sheet.// Format: projects/{project}/sheets/{sheet}- Sheet string `protobuf:"bytes,2,opt,name=sheet,proto3" json:"sheet,omitempty"`- Type Plan_ChangeDatabaseConfig_Type `protobuf:"varint,3,opt,name=type,proto3,enum=bytebase.v1.Plan_ChangeDatabaseConfig_Type" json:"type,omitempty"`- // schema_version is parsed from file name.- // It is automatically generated in the UI workflow.- SchemaVersion string `protobuf:"bytes,4,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`- GhostFlags map[string]string `protobuf:"bytes,7,rep,name=ghost_flags,json=ghostFlags,proto3" json:"ghost_flags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`+ Sheet string `protobuf:"bytes,2,opt,name=sheet,proto3" json:"sheet,omitempty"`+ Type Plan_ChangeDatabaseConfig_Type `protobuf:"varint,3,opt,name=type,proto3,enum=bytebase.v1.Plan_ChangeDatabaseConfig_Type" json:"type,omitempty"`+ GhostFlags map[string]string `protobuf:"bytes,7,rep,name=ghost_flags,json=ghostFlags,proto3" json:"ghost_flags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`// If set, a backup of the modified data will be created automatically before any changes are applied.PreUpdateBackupDetail *Plan_ChangeDatabaseConfig_PreUpdateBackupDetail `protobuf:"bytes,8,opt,name=pre_update_backup_detail,json=preUpdateBackupDetail,proto3,oneof" json:"pre_update_backup_detail,omitempty"`unknownFields protoimpl.UnknownFields@@ -1729,13 +1726,6 @@ func (x *Plan_ChangeDatabaseConfig) GetType() Plan_ChangeDatabaseConfig_Type {return Plan_ChangeDatabaseConfig_TYPE_UNSPECIFIED}-func (x *Plan_ChangeDatabaseConfig) GetSchemaVersion() string {- if x != nil {- return x.SchemaVersion- }- return ""-}-func (x *Plan_ChangeDatabaseConfig) GetGhostFlags() map[string]string {if x != nil {return x.GhostFlags@@ -2402,7 +2392,7 @@ const file_v1_plan_service_proto_rawDesc = "" +"\x11UpdatePlanRequest\x12+\n" +"\x04plan\x18\x01 \x01(\v2\x11.bytebase.v1.PlanB\x04\xe2A\x01\x02R\x04plan\x12A\n" +"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskB\x04\xe2A\x01\x02R\n" +- "updateMask\"\xf7\x14\n" ++ "updateMask\"\xd0\x14\n" +"\x04Plan\x12\x12\n" +"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +"\x05issue\x18\x03 \x01(\tR\x05issue\x12\x14\n" +@@ -2442,12 +2432,11 @@ const file_v1_plan_service_proto_rawDesc = "" +"\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&\n" +- "\venvironment\x18\t \x01(\tB\x04\xe2A\x01\x01R\venvironment\x1a\xf7\x04\n" ++ "\venvironment\x18\t \x01(\tB\x04\xe2A\x01\x01R\venvironment\x1a\xd0\x04\n" +"\x14ChangeDatabaseConfig\x12\x16\n" +"\x06target\x18\x01 \x01(\tR\x06target\x12\x14\n" +"\x05sheet\x18\x02 \x01(\tR\x05sheet\x12?\n" +- "\x04type\x18\x03 \x01(\x0e2+.bytebase.v1.Plan.ChangeDatabaseConfig.TypeR\x04type\x12%\n" +- "\x0eschema_version\x18\x04 \x01(\tR\rschemaVersion\x12W\n" ++ "\x04type\x18\x03 \x01(\x0e2+.bytebase.v1.Plan.ChangeDatabaseConfig.TypeR\x04type\x12W\n" +"\vghost_flags\x18\a \x03(\v26.bytebase.v1.Plan.ChangeDatabaseConfig.GhostFlagsEntryR\n" +"ghostFlags\x12z\n" +"\x18pre_update_backup_detail\x18\b \x01(\v2<.bytebase.v1.Plan.ChangeDatabaseConfig.PreUpdateBackupDetailH\x00R\x15preUpdateBackupDetail\x88\x01\x01\x1a=\n" +diff --git a/proto/store/store/plan.proto b/proto/store/store/plan.protoindex 342f54cdf9..5776cdcb1a 100644--- a/proto/store/store/plan.proto+++ b/proto/store/store/plan.proto@@ -73,9 +73,6 @@ message PlanConfig {DATA = 6;}Type type = 3;- // schema_version is parsed from file name.- // It is automatically generated in the UI workflow.- string schema_version = 4;map<string, string> ghost_flags = 7;diff --git a/proto/v1/v1/plan_service.proto b/proto/v1/v1/plan_service.protoindex d018ff77c5..26576de928 100644--- a/proto/v1/v1/plan_service.proto+++ b/proto/v1/v1/plan_service.proto@@ -315,9 +315,6 @@ message Plan {DATA = 6;}Type type = 3;- // schema_version is parsed from file name.- // It is automatically generated in the UI workflow.- string schema_version = 4;map<string, string> ghost_flags = 7;