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: retire branch and change history in changelist (#14797)
boojack2cf43241a30b
diff --git a/frontend/src/types/proto/store/changelist.ts b/frontend/src/types/proto/store/changelist.tsindex eb142617ec..334333ad13 100644--- a/frontend/src/types/proto/store/changelist.ts+++ b/frontend/src/types/proto/store/changelist.ts@@ -20,9 +20,8 @@ export interface Changelist_Change {sheet: string;/*** The source of origin.- * 1) change history: instances/{instance}/databases/{database}/changeHistories/{changeHistory}.- * 2) branch: projects/{project}/branches/{branch}.- * 3) raw SQL if empty.+ * 1) changes: instances/{instance}/databases/{database}/changelogs/{changelog}.+ * 2) raw SQL if empty.*/source: string;/** The migration version for a change. */diff --git a/frontend/src/types/proto/v1/changelist_service.ts b/frontend/src/types/proto/v1/changelist_service.tsindex 8d71bec8a9..bf41efe89b 100644--- a/frontend/src/types/proto/v1/changelist_service.ts+++ b/frontend/src/types/proto/v1/changelist_service.ts@@ -130,9 +130,8 @@ export interface Changelist_Change {sheet: string;/*** The source of origin.- * 1) change history: instances/{instance}/databases/{database}/changeHistories/{changeHistory}.- * 2) branch: projects/{project}/branches/{branch}.- * 3) raw SQL if empty.+ * 1) changelog: instances/{instance}/databases/{database}/changelog/{changeHistory}.+ * 2) raw SQL if empty.*/source: string;/** The migration version for a change. */diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 677e423e4d..e8085e56f7 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -9600,9 +9600,8 @@ components:type: stringdescription: |-The source of origin.- 1) change history: instances/{instance}/databases/{database}/changeHistories/{changeHistory}.- 2) branch: projects/{project}/branches/{branch}.- 3) raw SQL if empty.+ 1) changelog: instances/{instance}/databases/{database}/changelog/{changeHistory}.+ 2) raw SQL if empty.version:type: stringdescription: The migration version for a change.diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex 7057f4e6d0..768efec8b1 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -1887,7 +1887,7 @@ LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)| Field | Type | Label | Description || ----- | ---- | ----- | ----------- || sheet | [string](#string) | | The name of a sheet. |-| source | [string](#string) | | The source of origin. 1) change history: instances/{instance}/databases/{database}/changeHistories/{changeHistory}. 2) branch: projects/{project}/branches/{branch}. 3) raw SQL if empty. |+| source | [string](#string) | | The source of origin. 1) changes: instances/{instance}/databases/{database}/changelogs/{changelog}. 2) raw SQL if empty. || version | [string](#string) | | The migration version for a change. |diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex b2c08d3805..0dee339385 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -5608,9 +5608,8 @@ Example: projects/project-id/branches/branch-id. </p></td><td><a href="#string">string</a></td><td></td><td><p>The source of origin.-1) change history: instances/{instance}/databases/{database}/changeHistories/{changeHistory}.-2) branch: projects/{project}/branches/{branch}.-3) raw SQL if empty. </p></td>+1) changes: instances/{instance}/databases/{database}/changelogs/{changelog}.+2) raw SQL if empty. </p></td></tr><tr>diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 4d40ff02d9..e8fcbe4dd9 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -6696,7 +6696,7 @@ The branch's `name` field is used to identify the branch to update. Format:| Field | Type | Label | Description || ----- | ---- | ----- | ----------- || sheet | [string](#string) | | The name of a sheet. |-| source | [string](#string) | | The source of origin. 1) change history: instances/{instance}/databases/{database}/changeHistories/{changeHistory}. 2) branch: projects/{project}/branches/{branch}. 3) raw SQL if empty. |+| source | [string](#string) | | The source of origin. 1) changelog: instances/{instance}/databases/{database}/changelog/{changeHistory}. 2) raw SQL if empty. || version | [string](#string) | | The migration version for a change. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex 9249d4646d..db9d69be74 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -19106,9 +19106,8 @@ Format: users/{email} </p></td><td><a href="#string">string</a></td><td></td><td><p>The source of origin.-1) change history: instances/{instance}/databases/{database}/changeHistories/{changeHistory}.-2) branch: projects/{project}/branches/{branch}.-3) raw SQL if empty. </p></td>+1) changelog: instances/{instance}/databases/{database}/changelog/{changeHistory}.+2) raw SQL if empty. </p></td></tr><tr>diff --git a/proto/generated-go/store/changelist.pb.go b/proto/generated-go/store/changelist.pb.goindex 1f898fda72..88f88c1610 100644--- a/proto/generated-go/store/changelist.pb.go+++ b/proto/generated-go/store/changelist.pb.go@@ -77,9 +77,8 @@ type Changelist_Change struct {// The name of a sheet.Sheet string `protobuf:"bytes,1,opt,name=sheet,proto3" json:"sheet,omitempty"`// The source of origin.- // 1) change history: instances/{instance}/databases/{database}/changeHistories/{changeHistory}.- // 2) branch: projects/{project}/branches/{branch}.- // 3) raw SQL if empty.+ // 1) changes: instances/{instance}/databases/{database}/changelogs/{changelog}.+ // 2) raw SQL if empty.Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`// The migration version for a change.Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`diff --git a/proto/generated-go/v1/changelist_service.pb.go b/proto/generated-go/v1/changelist_service.pb.goindex 497ee08686..5fa23c0c10 100644--- a/proto/generated-go/v1/changelist_service.pb.go+++ b/proto/generated-go/v1/changelist_service.pb.go@@ -475,9 +475,8 @@ type Changelist_Change struct {// The name of a sheet.Sheet string `protobuf:"bytes,1,opt,name=sheet,proto3" json:"sheet,omitempty"`// The source of origin.- // 1) change history: instances/{instance}/databases/{database}/changeHistories/{changeHistory}.- // 2) branch: projects/{project}/branches/{branch}.- // 3) raw SQL if empty.+ // 1) changelog: instances/{instance}/databases/{database}/changelog/{changeHistory}.+ // 2) raw SQL if empty.Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`// The migration version for a change.Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`diff --git a/proto/store/changelist.proto b/proto/store/changelist.protoindex 631db98281..d5c41b2e14 100644--- a/proto/store/changelist.proto+++ b/proto/store/changelist.proto@@ -11,9 +11,8 @@ message Changelist {// The name of a sheet.string sheet = 1;// The source of origin.- // 1) change history: instances/{instance}/databases/{database}/changeHistories/{changeHistory}.- // 2) branch: projects/{project}/branches/{branch}.- // 3) raw SQL if empty.+ // 1) changes: instances/{instance}/databases/{database}/changelogs/{changelog}.+ // 2) raw SQL if empty.string source = 2;// The migration version for a change.string version = 3;diff --git a/proto/v1/changelist_service.proto b/proto/v1/changelist_service.protoindex 45c2673cc8..eab5fa8357 100644--- a/proto/v1/changelist_service.proto+++ b/proto/v1/changelist_service.proto@@ -171,9 +171,8 @@ message Changelist {// The name of a sheet.string sheet = 1;// The source of origin.- // 1) change history: instances/{instance}/databases/{database}/changeHistories/{changeHistory}.- // 2) branch: projects/{project}/branches/{branch}.- // 3) raw SQL if empty.+ // 1) changelog: instances/{instance}/databases/{database}/changelog/{changeHistory}.+ // 2) raw SQL if empty.string source = 2;// The migration version for a change.string version = 3;