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: refine name for mysql lower_case_table_names (#7251)
rebelice4fb18dc585f5
diff --git a/frontend/src/types/proto/store/instance.ts b/frontend/src/types/proto/store/instance.tsindex db01c350c0..53460293cc 100644--- a/frontend/src/types/proto/store/instance.ts+++ b/frontend/src/types/proto/store/instance.ts@@ -15,10 +15,10 @@ export interface InstanceOptions {/** InstanceMetadata is the metadata for instances. */export interface InstanceMetadata {/**- * The lower_case_table_name config for MySQL instances.- * It is used to determine whether the table name and database name are case sensitive.+ * The lower_case_table_names config for MySQL instances.+ * It is used to determine whether the table names and database names are case sensitive.*/- mysqlLowerCaseTableName: number;+ mysqlLowerCaseTableNames: number;}function createBaseInstanceOptions(): InstanceOptions {@@ -78,13 +78,13 @@ export const InstanceOptions = {};function createBaseInstanceMetadata(): InstanceMetadata {- return { mysqlLowerCaseTableName: 0 };+ return { mysqlLowerCaseTableNames: 0 };}export const InstanceMetadata = {encode(message: InstanceMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {- if (message.mysqlLowerCaseTableName !== 0) {- writer.uint32(8).int32(message.mysqlLowerCaseTableName);+ if (message.mysqlLowerCaseTableNames !== 0) {+ writer.uint32(8).int32(message.mysqlLowerCaseTableNames);}return writer;},@@ -101,7 +101,7 @@ export const InstanceMetadata = {break;}- message.mysqlLowerCaseTableName = reader.int32();+ message.mysqlLowerCaseTableNames = reader.int32();continue;}if ((tag & 7) === 4 || tag === 0) {@@ -114,14 +114,14 @@ export const InstanceMetadata = {fromJSON(object: any): InstanceMetadata {return {- mysqlLowerCaseTableName: isSet(object.mysqlLowerCaseTableName) ? Number(object.mysqlLowerCaseTableName) : 0,+ mysqlLowerCaseTableNames: isSet(object.mysqlLowerCaseTableNames) ? Number(object.mysqlLowerCaseTableNames) : 0,};},toJSON(message: InstanceMetadata): unknown {const obj: any = {};- message.mysqlLowerCaseTableName !== undefined &&- (obj.mysqlLowerCaseTableName = Math.round(message.mysqlLowerCaseTableName));+ message.mysqlLowerCaseTableNames !== undefined &&+ (obj.mysqlLowerCaseTableNames = Math.round(message.mysqlLowerCaseTableNames));return obj;},@@ -131,7 +131,7 @@ export const InstanceMetadata = {fromPartial(object: DeepPartial<InstanceMetadata>): InstanceMetadata {const message = createBaseInstanceMetadata();- message.mysqlLowerCaseTableName = object.mysqlLowerCaseTableName ?? 0;+ message.mysqlLowerCaseTableNames = object.mysqlLowerCaseTableNames ?? 0;return message;},};diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex 69389c2c49..22370dd819 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -1096,7 +1096,7 @@ InstanceMetadata is the metadata for instances.| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| mysql_lower_case_table_name | [int32](#int32) | | The lower_case_table_name config for MySQL instances. It is used to determine whether the table name and database name are case sensitive. |+| mysql_lower_case_table_names | [int32](#int32) | | The lower_case_table_names config for MySQL instances. It is used to determine whether the table names and database names are case sensitive. |diff --git a/proto/generated-go/store/instance.pb.go b/proto/generated-go/store/instance.pb.goindex c618a36dcc..ed54cd833e 100644--- a/proto/generated-go/store/instance.pb.go+++ b/proto/generated-go/store/instance.pb.go@@ -76,9 +76,9 @@ type InstanceMetadata struct {sizeCache protoimpl.SizeCacheunknownFields protoimpl.UnknownFields- // The lower_case_table_name config for MySQL instances.- // It is used to determine whether the table name and database name are case sensitive.- MysqlLowerCaseTableName int32 `protobuf:"varint,1,opt,name=mysql_lower_case_table_name,json=mysqlLowerCaseTableName,proto3" json:"mysql_lower_case_table_name,omitempty"`+ // The lower_case_table_names config for MySQL instances.+ // It is used to determine whether the table names and database names are case sensitive.+ MysqlLowerCaseTableNames int32 `protobuf:"varint,1,opt,name=mysql_lower_case_table_names,json=mysqlLowerCaseTableNames,proto3" json:"mysql_lower_case_table_names,omitempty"`}func (x *InstanceMetadata) Reset() {@@ -113,9 +113,9 @@ func (*InstanceMetadata) Descriptor() ([]byte, []int) {return file_store_instance_proto_rawDescGZIP(), []int{1}}-func (x *InstanceMetadata) GetMysqlLowerCaseTableName() int32 {+func (x *InstanceMetadata) GetMysqlLowerCaseTableNames() int32 {if x != nil {- return x.MysqlLowerCaseTableName+ return x.MysqlLowerCaseTableNames}return 0}@@ -129,14 +129,14 @@ var file_store_instance_proto_rawDesc = []byte{0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x63, 0x68,0x65, 0x6d, 0x61, 0x5f, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18,0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x65, 0x6e,- 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x50, 0x0a, 0x10, 0x49, 0x6e, 0x73, 0x74, 0x61,- 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x1b, 0x6d,+ 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x52, 0x0a, 0x10, 0x49, 0x6e, 0x73, 0x74, 0x61,+ 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3e, 0x0a, 0x1c, 0x6d,0x79, 0x73, 0x71, 0x6c, 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x63, 0x61, 0x73, 0x65, 0x5f,- 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,- 0x52, 0x17, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x4c, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x61, 0x73, 0x65,- 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x14, 0x5a, 0x12, 0x67, 0x65, 0x6e,- 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62,- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x05, 0x52, 0x18, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x4c, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x61, 0x73,+ 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x42, 0x14, 0x5a, 0x12, 0x67,+ 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72,+ 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,}var (diff --git a/proto/store/instance.proto b/proto/store/instance.protoindex 05a1f3dc2d..2dcc6f50db 100644--- a/proto/store/instance.proto+++ b/proto/store/instance.proto@@ -13,7 +13,7 @@ message InstanceOptions {// InstanceMetadata is the metadata for instances.message InstanceMetadata {- // The lower_case_table_name config for MySQL instances.- // It is used to determine whether the table name and database name are case sensitive.- int32 mysql_lower_case_table_name = 1;+ // The lower_case_table_names config for MySQL instances.+ // It is used to determine whether the table names and database names are case sensitive.+ int32 mysql_lower_case_table_names = 1;}