Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: correct proto cmp (#13626)
h3n4l39752d1dd28f
diff --git a/backend/api/v1/branch_service.go b/backend/api/v1/branch_service.goindex f298ba7638..52f89df726 100644--- a/backend/api/v1/branch_service.go+++ b/backend/api/v1/branch_service.go@@ -1608,7 +1608,7 @@ func updateDatabaseConfigLastModifierForMerge(baseMetadata *storepb.DatabaseScheif baseTableConfig == nil {baseTableConfig = initTableConfig(baseTable.GetProto(), "", "", now)}- if diff := cmp.Diff(baseTable.GetProto(), baseTable, protocmp.Transform()); diff != "" {+ if diff := cmp.Diff(headTable, baseTable.GetProto(), protocmp.Transform()); diff != "" {baseTableConfig.SourceBranch = headTableConfig.SourceBranchbaseTableConfig.Updater = headTableConfig.UpdaterbaseTableConfig.UpdateTime = now