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: less creator 2 (#15152)
Danny Xu59815889ab19
diff --git a/backend/api/directory-sync/webhook.go b/backend/api/directory-sync/webhook.goindex ddc3796fe7..a2bdeb3c25 100644--- a/backend/api/directory-sync/webhook.go+++ b/backend/api/directory-sync/webhook.go@@ -70,7 +70,7 @@ func (s *Service) RegisterDirectorySyncRoutes(g *echo.Group) {Profile: &storepb.UserProfile{Source: entraIDSource,},- }, api.SystemBotID)+ })if err != nil {return c.String(http.StatusInternalServerError, fmt.Sprintf(`failed to create user "%s", error %v`, aadUser.UserName, err))}@@ -85,7 +85,7 @@ func (s *Service) RegisterDirectorySyncRoutes(g *echo.Group) {LastLoginTime: user.Profile.LastLoginTime,LastChangePasswordTime: user.Profile.LastChangePasswordTime,},- }, api.SystemBotID)+ })if err != nil {return c.String(http.StatusInternalServerError, fmt.Sprintf(`failed to update user "%s", error %v`, user.Email, err))}@@ -208,7 +208,7 @@ func (s *Service) RegisterDirectorySyncRoutes(g *echo.Group) {deleteUser := trueif _, err := s.store.UpdateUser(ctx, user, &store.UpdateUserMessage{Delete: &deleteUser,- }, api.SystemBotID); err != nil {+ }); err != nil {return c.String(http.StatusInternalServerError, fmt.Sprintf("failed to delete user, error %v", err))}@@ -281,7 +281,7 @@ func (s *Service) RegisterDirectorySyncRoutes(g *echo.Group) {}}- updatedUser, err := s.store.UpdateUser(ctx, user, updateUser, api.SystemBotID)+ updatedUser, err := s.store.UpdateUser(ctx, user, updateUser)if err != nil {return c.String(http.StatusInternalServerError, fmt.Sprintf("failed to update user, error %v", err))}diff --git a/backend/api/gitops/webhook.go b/backend/api/gitops/webhook.goindex 5676ded568..a6126fe213 100644--- a/backend/api/gitops/webhook.go+++ b/backend/api/gitops/webhook.go@@ -376,7 +376,6 @@ func (s *Service) createReleaseFromPRInfo(ctx context.Context, project *store.Prsheet, err := s.store.CreateSheet(ctx, &store.SheetMessage{ProjectUID: project.UID,CreatorID: user.ID,- UpdaterID: user.ID,Title: "",Statement: f.content,})diff --git a/backend/api/v1/auth_service.go b/backend/api/v1/auth_service.goindex d5b7b346d3..208844b7bd 100644--- a/backend/api/v1/auth_service.go+++ b/backend/api/v1/auth_service.go@@ -215,13 +215,7 @@ func (s *AuthService) CreateUser(ctx context.Context, request *v1pb.CreateUserRePasswordHash: string(passwordHash),}- creatorUID := api.SystemBotID- u, ok := ctx.Value(common.UserContextKey).(*store.UserMessage)- if ok && u != nil {- creatorUID = u.ID- }-- user, err := s.store.CreateUser(ctx, userMessage, creatorUID)+ user, err := s.store.CreateUser(ctx, userMessage)if err != nil {return nil, status.Errorf(codes.Internal, "failed to create user, error: %v", err)}@@ -462,7 +456,7 @@ func (s *AuthService) UpdateUser(ctx context.Context, request *v1pb.UpdateUserRe}}- user, err = s.store.UpdateUser(ctx, user, patch, callerUser.ID)+ user, err = s.store.UpdateUser(ctx, user, patch)if err != nil {return nil, status.Errorf(codes.Internal, "failed to update user, error: %v", err)}@@ -513,7 +507,7 @@ func (s *AuthService) DeleteUser(ctx context.Context, request *v1pb.DeleteUserRereturn nil, status.Errorf(codes.InvalidArgument, "workspace must have at least one admin")}- if _, err := s.store.UpdateUser(ctx, user, &store.UpdateUserMessage{Delete: &deletePatch}, callerUser.ID); err != nil {+ if _, err := s.store.UpdateUser(ctx, user, &store.UpdateUserMessage{Delete: &deletePatch}); err != nil {return nil, status.Error(codes.Internal, err.Error())}return &emptypb.Empty{}, nil@@ -569,7 +563,7 @@ func (s *AuthService) UndeleteUser(ctx context.Context, request *v1pb.UndeleteUsreturn nil, status.Errorf(codes.InvalidArgument, "user %q is already active", userID)}- user, err = s.store.UpdateUser(ctx, user, &store.UpdateUserMessage{Delete: &undeletePatch}, callerUser.ID)+ user, err = s.store.UpdateUser(ctx, user, &store.UpdateUserMessage{Delete: &undeletePatch})if err != nil {return nil, status.Error(codes.Internal, err.Error())}@@ -797,7 +791,7 @@ func (s *AuthService) Login(ctx context.Context, request *v1pb.LoginRequest) (*vLastLoginTime: timestamppb.Now(),LastChangePasswordTime: loginUser.Profile.GetLastChangePasswordTime(),},- }, api.SystemBotID); err != nil {+ }); err != nil {slog.Error("failed to update user profile", log.BBError(err), slog.String("user", loginUser.Email))}@@ -978,7 +972,7 @@ func (s *AuthService) getOrCreateUserWithIDP(ctx context.Context, request *v1pb.if user != nil {if user.MemberDeleted {// Undelete the user when login via SSO.- user, err = s.store.UpdateUser(ctx, user, &store.UpdateUserMessage{Delete: &undeletePatch}, api.SystemBotID)+ user, err = s.store.UpdateUser(ctx, user, &store.UpdateUserMessage{Delete: &undeletePatch})if err != nil {return nil, status.Errorf(codes.Internal, "failed to undelete user: %v", err)}@@ -1004,7 +998,7 @@ func (s *AuthService) getOrCreateUserWithIDP(ctx context.Context, request *v1pb.Phone: userInfo.Phone,Type: api.EndUser,PasswordHash: string(passwordHash),- }, api.SystemBotID)+ })if err != nil {return nil, status.Errorf(codes.Internal, "failed to create user, error: %v", err)}@@ -1028,7 +1022,7 @@ func (s *AuthService) challengeRecoveryCode(ctx context.Context, user *store.UseOtpSecret: user.MFAConfig.OtpSecret,RecoveryCodes: user.MFAConfig.RecoveryCodes,},- }, user.ID)+ })if err != nil {return status.Errorf(codes.Internal, "failed to update user: %v", err)}diff --git a/backend/api/v1/database_catalog_service.go b/backend/api/v1/database_catalog_service.goindex a31e001390..7f0cf09973 100644--- a/backend/api/v1/database_catalog_service.go+++ b/backend/api/v1/database_catalog_service.go@@ -9,7 +9,6 @@ import ("github.com/bytebase/bytebase/backend/common"enterprise "github.com/bytebase/bytebase/backend/enterprise/api"- api "github.com/bytebase/bytebase/backend/legacyapi""github.com/bytebase/bytebase/backend/store"storepb "github.com/bytebase/bytebase/proto/generated-go/store"v1pb "github.com/bytebase/bytebase/proto/generated-go/v1"@@ -102,7 +101,7 @@ func (s *DatabaseCatalogService) UpdateDatabaseCatalog(ctx context.Context, requ}databaseConfig := convertDatabaseCatalog(request.GetCatalog())- if err := s.store.UpdateDBSchema(ctx, database.UID, &store.UpdateDBSchemaMessage{Config: databaseConfig}, api.SystemBotID); err != nil {+ if err := s.store.UpdateDBSchema(ctx, database.UID, &store.UpdateDBSchemaMessage{Config: databaseConfig}); err != nil {return nil, err}diff --git a/backend/api/v1/database_service.go b/backend/api/v1/database_service.goindex 6e108afb28..f01299bd1f 100644--- a/backend/api/v1/database_service.go+++ b/backend/api/v1/database_service.go@@ -324,11 +324,7 @@ func (s *DatabaseService) UpdateDatabase(ctx context.Context, request *v1pb.Upda}}- principalID, ok := ctx.Value(common.PrincipalIDContextKey).(int)- if !ok {- return nil, status.Errorf(codes.Internal, "principal ID not found")- }- updatedDatabase, err := s.store.UpdateDatabase(ctx, patch, principalID)+ updatedDatabase, err := s.store.UpdateDatabase(ctx, patch)if err != nil {return nil, status.Error(codes.Internal, err.Error())}@@ -432,12 +428,8 @@ func (s *DatabaseService) BatchUpdateDatabases(ctx context.Context, request *v1p}response := &v1pb.BatchUpdateDatabasesResponse{}- principalID, ok := ctx.Value(common.PrincipalIDContextKey).(int)- if !ok {- return nil, status.Errorf(codes.Internal, "principal ID not found")- }if len(databases) > 0 {- updatedDatabases, err := s.store.BatchUpdateDatabaseProject(ctx, databases, project.ResourceID, principalID)+ updatedDatabases, err := s.store.BatchUpdateDatabaseProject(ctx, databases, project.ResourceID)if err != nil {return nil, status.Error(codes.Internal, err.Error())}@@ -859,11 +851,7 @@ func (s *DatabaseService) UpdateSecret(ctx context.Context, request *v1pb.Update}updateDatabaseMessage.InstanceID = database.InstanceIDupdateDatabaseMessage.DatabaseName = database.DatabaseName- principalID, ok := ctx.Value(common.PrincipalIDContextKey).(int)- if !ok {- return nil, status.Errorf(codes.Internal, "principal ID not found")- }- updatedDatabase, err := s.store.UpdateDatabase(ctx, &updateDatabaseMessage, principalID)+ updatedDatabase, err := s.store.UpdateDatabase(ctx, &updateDatabaseMessage)if err != nil {return nil, status.Error(codes.Internal, err.Error())}@@ -932,11 +920,7 @@ func (s *DatabaseService) DeleteSecret(ctx context.Context, request *v1pb.Delete}updateDatabaseMessage.InstanceID = database.InstanceIDupdateDatabaseMessage.DatabaseName = database.DatabaseName- principalID, ok := ctx.Value(common.PrincipalIDContextKey).(int)- if !ok {- return nil, status.Errorf(codes.Internal, "principal ID not found")- }- if _, err := s.store.UpdateDatabase(ctx, &updateDatabaseMessage, principalID); err != nil {+ if _, err := s.store.UpdateDatabase(ctx, &updateDatabaseMessage); err != nil {return nil, status.Error(codes.Internal, err.Error())}diff --git a/backend/api/v1/database_service_changelog.go b/backend/api/v1/database_service_changelog.goindex 62ecb81cd9..203e8b9c99 100644--- a/backend/api/v1/database_service_changelog.go+++ b/backend/api/v1/database_service_changelog.go@@ -95,7 +95,7 @@ func (s *DatabaseService) ListChangelogs(ctx context.Context, request *v1pb.List}// no subsequent pages- converted, err := s.convertToChangelogs(ctx, database, changelogs)+ converted, err := s.convertToChangelogs(database, changelogs)if err != nil {return nil, status.Errorf(codes.Internal, "failed to convert changelogs, error: %v", err)}@@ -148,7 +148,7 @@ func (s *DatabaseService) GetChangelog(ctx context.Context, request *v1pb.GetChareturn nil, status.Errorf(codes.NotFound, "database %q not found", databaseName)}- converted, err := s.convertToChangelog(ctx, database, changelog)+ converted, err := s.convertToChangelog(database, changelog)if err != nil {return nil, status.Errorf(codes.Internal, "failed to convert changelog, error: %v", err)}@@ -172,10 +172,10 @@ func (s *DatabaseService) GetChangelog(ctx context.Context, request *v1pb.GetChareturn converted, nil}-func (s *DatabaseService) convertToChangelogs(ctx context.Context, d *store.DatabaseMessage, cs []*store.ChangelogMessage) ([]*v1pb.Changelog, error) {+func (s *DatabaseService) convertToChangelogs(d *store.DatabaseMessage, cs []*store.ChangelogMessage) ([]*v1pb.Changelog, error) {var changelogs []*v1pb.Changelogfor _, c := range cs {- changelog, err := s.convertToChangelog(ctx, d, c)+ changelog, err := s.convertToChangelog(d, c)if err != nil {return nil, errors.Wrapf(err, "failed to convert to changelog")}@@ -184,10 +184,9 @@ func (s *DatabaseService) convertToChangelogs(ctx context.Context, d *store.Datareturn changelogs, nil}-func (s *DatabaseService) convertToChangelog(ctx context.Context, d *store.DatabaseMessage, c *store.ChangelogMessage) (*v1pb.Changelog, error) {+func (*DatabaseService) convertToChangelog(d *store.DatabaseMessage, c *store.ChangelogMessage) (*v1pb.Changelog, error) {cl := &v1pb.Changelog{Name: common.FormatChangelog(d.InstanceID, d.DatabaseName, c.UID),- Creator: "",CreateTime: timestamppb.New(c.CreatedTime),Status: convertToChangelogStatus(c.Status),Statement: "",@@ -215,12 +214,6 @@ func (s *DatabaseService) convertToChangelog(ctx context.Context, d *store.Databcl.Revision = common.FormatRevision(d.InstanceID, d.DatabaseName, id)}- creator, err := s.store.GetUserByID(ctx, c.CreatorUID)- if err != nil {- return nil, errors.Wrapf(err, "failed to get creator")- }- cl.Creator = common.FormatUserEmail(creator.Email)-if v := c.PrevSyncHistoryUID; v != nil {cl.PrevSchema = c.PrevSchemacl.PrevSchemaSize = int64(len(cl.PrevSchema))diff --git a/backend/api/v1/database_service_revision.go b/backend/api/v1/database_service_revision.goindex 21e1be2012..7cbff737ea 100644--- a/backend/api/v1/database_service_revision.go+++ b/backend/api/v1/database_service_revision.go@@ -102,10 +102,6 @@ func (s *DatabaseService) GetRevision(ctx context.Context, request *v1pb.GetRevi}func (s *DatabaseService) CreateRevision(ctx context.Context, request *v1pb.CreateRevisionRequest) (*v1pb.Revision, error) {- user, ok := ctx.Value(common.UserContextKey).(*store.UserMessage)- if !ok {- return nil, status.Errorf(codes.Internal, "user not found")- }instanceID, databaseID, err := common.GetInstanceDatabaseID(request.Parent)if err != nil {return nil, status.Errorf(codes.InvalidArgument, "failed to get instance and database from %v, err: %v", request.Parent, err)@@ -196,7 +192,7 @@ func (s *DatabaseService) CreateRevision(ctx context.Context, request *v1pb.Crea}revisionCreate := convertRevision(request.Revision, database, sheet)- revisionM, err := s.store.CreateRevision(ctx, revisionCreate, user.ID)+ revisionM, err := s.store.CreateRevision(ctx, revisionCreate)if err != nil {return nil, status.Errorf(codes.Internal, "failed to create revision, err: %v", err)}@@ -236,13 +232,6 @@ func convertToRevisions(ctx context.Context, s *store.Store, parent string, revi}func convertToRevision(ctx context.Context, s *store.Store, parent string, revision *store.RevisionMessage) (*v1pb.Revision, error) {- creator, err := s.GetUserByID(ctx, revision.CreatorUID)- if err != nil {- return nil, errors.Wrapf(err, "failed to get creator")- }- if creator == nil {- return nil, errors.Errorf("creator %v not found", revision.CreatorUID)- }_, sheetUID, err := common.GetProjectResourceIDSheetUID(revision.Payload.Sheet)if err != nil {return nil, errors.Wrapf(err, "failed to get sheetUID from %q", revision.Payload.Sheet)@@ -274,7 +263,6 @@ func convertToRevision(ctx context.Context, s *store.Store, parent string, revisName: fmt.Sprintf("%s/%s%d", parent, common.RevisionNamePrefix, revision.UID),Release: revision.Payload.Release,CreateTime: timestamppb.New(revision.CreateTime),- Creator: common.FormatUserEmail(creator.Email),Sheet: revision.Payload.Sheet,SheetSha256: revision.Payload.SheetSha256,Statement: sheet.Statement,diff --git a/backend/api/v1/instance_service.go b/backend/api/v1/instance_service.goindex ae045d2e6b..5662825197 100644--- a/backend/api/v1/instance_service.go+++ b/backend/api/v1/instance_service.go@@ -530,7 +530,7 @@ func (s *InstanceService) DeleteInstance(ctx context.Context, request *v1pb.Dele}if request.Force {if len(databases) > 0 {- if _, err := s.store.BatchUpdateDatabaseProject(ctx, databases, api.DefaultProjectID, api.SystemBotID); err != nil {+ if _, err := s.store.BatchUpdateDatabaseProject(ctx, databases, api.DefaultProjectID); err != nil {return nil, err}}diff --git a/backend/api/v1/issue_service.go b/backend/api/v1/issue_service.goindex bb003d3ec3..12dd349985 100644--- a/backend/api/v1/issue_service.go+++ b/backend/api/v1/issue_service.go@@ -767,7 +767,7 @@ func (s *IssueService) ApproveIssue(ctx context.Context, request *v1pb.ApproveIsPayloadUpsert: &storepb.IssuePayload{Approval: payload.Approval,},- }, api.SystemBotID)+ })if err != nil {return nil, status.Errorf(codes.Internal, "failed to update issue, error: %v", err)}@@ -976,7 +976,7 @@ func (s *IssueService) RejectIssue(ctx context.Context, request *v1pb.RejectIssuPayloadUpsert: &storepb.IssuePayload{Approval: payload.Approval,},- }, api.SystemBotID)+ })if err != nil {return nil, status.Errorf(codes.Internal, "failed to update issue, error: %v", err)}@@ -1064,7 +1064,7 @@ func (s *IssueService) RequestIssue(ctx context.Context, request *v1pb.RequestIsPayloadUpsert: &storepb.IssuePayload{Approval: payload.Approval,},- }, api.SystemBotID)+ })if err != nil {return nil, status.Errorf(codes.Internal, "failed to update issue, error: %v", err)}@@ -1283,7 +1283,7 @@ func (s *IssueService) UpdateIssue(ctx context.Context, request *v1pb.UpdateIssu}}- issue, err = s.store.UpdateIssueV2(ctx, issue.UID, patch, user.ID)+ issue, err = s.store.UpdateIssueV2(ctx, issue.UID, patch)if err != nil {return nil, status.Errorf(codes.Internal, "failed to update issue, error: %v", err)}@@ -1350,7 +1350,7 @@ func (s *IssueService) BatchUpdateIssuesStatus(ctx context.Context, request *v1preturn nil, status.Errorf(codes.InvalidArgument, "failed to convert to issue status, err: %v", err)}- if err := s.store.BatchUpdateIssueStatuses(ctx, issueIDs, newStatus, user.ID); err != nil {+ if err := s.store.BatchUpdateIssueStatuses(ctx, issueIDs, newStatus); err != nil {return nil, status.Errorf(codes.Internal, "failed to batch update issues, err: %v", err)}@@ -1490,7 +1490,7 @@ func (s *IssueService) CreateIssueComment(ctx context.Context, request *v1pb.Creissue.Subscribers = append(issue.Subscribers, user)if _, err := s.store.UpdateIssueV2(ctx, issue.UID, &store.UpdateIssueMessage{Subscribers: &issue.Subscribers,- }, user.ID); err != nil {+ }); err != nil {return nil, err}}diff --git a/backend/api/v1/plan_service.go b/backend/api/v1/plan_service.goindex 57696eea4d..2af9f0af5c 100644--- a/backend/api/v1/plan_service.go+++ b/backend/api/v1/plan_service.go@@ -333,8 +333,7 @@ func (s *PlanService) UpdatePlan(ctx context.Context, request *v1pb.UpdatePlanRe}planUpdate := &store.UpdatePlanMessage{- UID: oldPlan.UID,- UpdaterID: user.ID,+ UID: oldPlan.UID,}var planCheckRunsTrigger bool@@ -796,7 +795,7 @@ func (s *PlanService) UpdatePlan(ctx context.Context, request *v1pb.UpdatePlanReApprovalFindingDone: false,},},- }, api.SystemBotID)+ })if err != nil {return errors.Errorf("failed to update issue: %v", err)}@@ -921,18 +920,6 @@ func (s *PlanService) BatchCancelPlanCheckRuns(ctx context.Context, request *v1preturn nil, status.Errorf(codes.NotFound, "project %v not found", projectID)}- principalID, ok := ctx.Value(common.PrincipalIDContextKey).(int)- if !ok {- return nil, status.Errorf(codes.Internal, "principal ID not found")- }- user, err := s.store.GetUserByID(ctx, principalID)- if err != nil {- return nil, status.Errorf(codes.Internal, "failed to find user, error: %v", err)- }- if user == nil {- return nil, status.Errorf(codes.NotFound, "user %v not found", principalID)- }-var planCheckRunIDs []intfor _, planCheckRun := range request.PlanCheckRuns {_, _, planCheckRunID, err := common.GetProjectIDPlanIDPlanCheckRunID(planCheckRun)@@ -964,7 +951,7 @@ func (s *PlanService) BatchCancelPlanCheckRuns(ctx context.Context, request *v1p}}// Update the status of the plan check runs to canceled.- if err := s.store.BatchCancelPlanCheckRuns(ctx, planCheckRunIDs, principalID); err != nil {+ if err := s.store.BatchCancelPlanCheckRuns(ctx, planCheckRunIDs); err != nil {return nil, status.Errorf(codes.Internal, "failed to batch patch task run status to canceled, error: %v", err)}diff --git a/backend/api/v1/plan_service_plan_check.go b/backend/api/v1/plan_service_plan_check.goindex efeb3ac17e..b189021e55 100644--- a/backend/api/v1/plan_service_plan_check.go+++ b/backend/api/v1/plan_service_plan_check.go@@ -217,11 +217,9 @@ func getPlanCheckRunsFromChangeDatabaseConfigForDatabase(ctx context.Context, svar planCheckRuns []*store.PlanCheckRunMessageplanCheckRuns = append(planCheckRuns, &store.PlanCheckRunMessage{- CreatorUID: api.SystemBotID,- UpdaterUID: api.SystemBotID,- PlanUID: plan.UID,- Status: store.PlanCheckRunStatusRunning,- Type: store.PlanCheckDatabaseConnect,+ PlanUID: plan.UID,+ Status: store.PlanCheckRunStatusRunning,+ Type: store.PlanCheckDatabaseConnect,Config: &storepb.PlanCheckRunConfig{SheetUid: int32(sheetUID),ChangeDatabaseType: convertToChangeDatabaseType(config.Type),@@ -241,11 +239,9 @@ func getPlanCheckRunsFromChangeDatabaseConfigForDatabase(ctx context.Context, s}}planCheckRuns = append(planCheckRuns, &store.PlanCheckRunMessage{- CreatorUID: api.SystemBotID,- UpdaterUID: api.SystemBotID,- PlanUID: plan.UID,- Status: store.PlanCheckRunStatusRunning,- Type: store.PlanCheckDatabaseStatementAdvise,+ PlanUID: plan.UID,+ Status: store.PlanCheckRunStatusRunning,+ Type: store.PlanCheckDatabaseStatementAdvise,Config: &storepb.PlanCheckRunConfig{SheetUid: int32(sheetUID),ChangeDatabaseType: convertToChangeDatabaseType(config.Type),@@ -255,11 +251,9 @@ func getPlanCheckRunsFromChangeDatabaseConfigForDatabase(ctx context.Context, s},})planCheckRuns = append(planCheckRuns, &store.PlanCheckRunMessage{- CreatorUID: api.SystemBotID,- UpdaterUID: api.SystemBotID,- PlanUID: plan.UID,- Status: store.PlanCheckRunStatusRunning,- Type: store.PlanCheckDatabaseStatementSummaryReport,+ PlanUID: plan.UID,+ Status: store.PlanCheckRunStatusRunning,+ Type: store.PlanCheckDatabaseStatementSummaryReport,Config: &storepb.PlanCheckRunConfig{SheetUid: int32(sheetUID),ChangeDatabaseType: convertToChangeDatabaseType(config.Type),@@ -269,11 +263,9 @@ func getPlanCheckRunsFromChangeDatabaseConfigForDatabase(ctx context.Context, s})if config.Type == storepb.PlanConfig_ChangeDatabaseConfig_MIGRATE_GHOST {planCheckRuns = append(planCheckRuns, &store.PlanCheckRunMessage{- CreatorUID: api.SystemBotID,- UpdaterUID: api.SystemBotID,- PlanUID: plan.UID,- Status: store.PlanCheckRunStatusRunning,- Type: store.PlanCheckDatabaseGhostSync,+ PlanUID: plan.UID,+ Status: store.PlanCheckRunStatusRunning,+ Type: store.PlanCheckDatabaseGhostSync,Config: &storepb.PlanCheckRunConfig{SheetUid: int32(sheetUID),ChangeDatabaseType: convertToChangeDatabaseType(config.Type),@@ -339,11 +331,9 @@ func getPlanCheckRunsFromExportDataConfigForDatabase(ctx context.Context, s *stoplanCheckRuns := []*store.PlanCheckRunMessage{}for _, planCheckRunType := range planCheckRunTypes {planCheckRuns = append(planCheckRuns, &store.PlanCheckRunMessage{- CreatorUID: api.SystemBotID,- UpdaterUID: api.SystemBotID,- PlanUID: plan.UID,- Status: store.PlanCheckRunStatusRunning,- Type: planCheckRunType,+ PlanUID: plan.UID,+ Status: store.PlanCheckRunStatusRunning,+ Type: planCheckRunType,Config: &storepb.PlanCheckRunConfig{SheetUid: int32(sheetUID),ChangeDatabaseType: storepb.PlanCheckRunConfig_DML,diff --git a/backend/api/v1/project_service.go b/backend/api/v1/project_service.goindex fe4f7aa441..2487215e8e 100644--- a/backend/api/v1/project_service.go+++ b/backend/api/v1/project_service.go@@ -284,7 +284,7 @@ func (s *ProjectService) DeleteProject(ctx context.Context, request *v1pb.Deleteif request.Force {if len(databases) > 0 {defaultProject := api.DefaultProjectID- if _, err := s.store.BatchUpdateDatabaseProject(ctx, databases, defaultProject, api.SystemBotID); err != nil {+ if _, err := s.store.BatchUpdateDatabaseProject(ctx, databases, defaultProject); err != nil {return nil, err}}diff --git a/backend/api/v1/rollout_service.go b/backend/api/v1/rollout_service.goindex 1145362af3..9d9693f765 100644--- a/backend/api/v1/rollout_service.go+++ b/backend/api/v1/rollout_service.go@@ -708,7 +708,7 @@ func (s *RolloutService) BatchSkipTasks(ctx context.Context, request *v1pb.Batch}}- if err := s.store.BatchSkipTasks(ctx, taskUIDs, request.Reason, user.ID); err != nil {+ if err := s.store.BatchSkipTasks(ctx, taskUIDs, request.Reason); err != nil {return nil, status.Errorf(codes.Internal, "failed to skip tasks, error: %v", err)}@@ -846,7 +846,7 @@ func (s *RolloutService) BatchCancelTaskRuns(ctx context.Context, request *v1pb.}}- if err := s.store.BatchCancelTaskRuns(ctx, taskRunIDs, principalID); err != nil {+ if err := s.store.BatchCancelTaskRuns(ctx, taskRunIDs); err != nil {return nil, status.Errorf(codes.Internal, "failed to batch patch task run status to canceled, error: %v", err)}diff --git a/backend/api/v1/worksheet_service.go b/backend/api/v1/worksheet_service.goindex 17a81c0bad..92c6ea2f9a 100644--- a/backend/api/v1/worksheet_service.go+++ b/backend/api/v1/worksheet_service.go@@ -284,8 +284,7 @@ func (s *WorksheetService) UpdateWorksheet(ctx context.Context, request *v1pb.Up}worksheetPatch := &store.PatchWorkSheetMessage{- UID: worksheet.UID,- UpdaterID: principalID,+ UID: worksheet.UID,}for _, path := range request.UpdateMask.Paths {switch path {diff --git a/backend/component/ghost/config.go b/backend/component/ghost/config.goindex 936d62a391..292f74755b 100644--- a/backend/component/ghost/config.go+++ b/backend/component/ghost/config.go@@ -176,17 +176,17 @@ func GetUserFlags(flags map[string]string) (*UserFlags, error) {return f, nil}-func getSocketFilename(taskID int, taskCreatedTs int64, databaseID int, databaseName, tableName string) string {- return fmt.Sprintf("/tmp/gh-ost.%v.%v.%v.%v.%v.sock", taskID, taskCreatedTs, databaseID, databaseName, tableName)+func getSocketFilename(taskID int, databaseID int, databaseName, tableName string) string {+ return fmt.Sprintf("/tmp/gh-ost.%v.%v.%v.%v.sock", taskID, databaseID, databaseName, tableName)}// GetPostponeFlagFilename gets the postpone flag filename for gh-ost.-func GetPostponeFlagFilename(taskID int, taskCreatedTs int64, databaseID int, databaseName, tableName string) string {- return fmt.Sprintf("/tmp/gh-ost.%v.%v.%v.%v.%v.postponeFlag", taskID, taskCreatedTs, databaseID, databaseName, tableName)+func GetPostponeFlagFilename(taskID int, databaseID int, databaseName, tableName string) string {+ return fmt.Sprintf("/tmp/gh-ost.%v.%v.%v.%v.postponeFlag", taskID, databaseID, databaseName, tableName)}// NewMigrationContext is the context for gh-ost migration.-func NewMigrationContext(ctx context.Context, taskID int, taskCreatedTs int64, database *store.DatabaseMessage, dataSource *store.DataSourceMessage, secret string, tableName string, tmpTableNameSuffix string, statement string, noop bool, flags map[string]string, serverIDOffset uint) (*base.MigrationContext, error) {+func NewMigrationContext(ctx context.Context, taskID int, database *store.DatabaseMessage, dataSource *store.DataSourceMessage, secret string, tableName string, tmpTableNameSuffix string, statement string, noop bool, flags map[string]string, serverIDOffset uint) (*base.MigrationContext, error) {password, err := common.Unobfuscate(dataSource.ObfuscatedPassword, secret)if err != nil {return nil, errors.Wrapf(err, "failed to get password")@@ -273,8 +273,8 @@ func NewMigrationContext(ctx context.Context, taskID int, taskCreatedTs int64, d}migrationContext.OriginalTableName = parser.GetExplicitTable()}- migrationContext.ServeSocketFile = getSocketFilename(taskID, taskCreatedTs, database.UID, database.DatabaseName, tableName)- migrationContext.PostponeCutOverFlagFile = GetPostponeFlagFilename(taskID, taskCreatedTs, database.UID, database.DatabaseName, tableName)+ migrationContext.ServeSocketFile = getSocketFilename(taskID, database.UID, database.DatabaseName, tableName)+ migrationContext.PostponeCutOverFlagFile = GetPostponeFlagFilename(taskID, database.UID, database.DatabaseName, tableName)migrationContext.TimestampOldTable = defaultConfig.timestampOldTablemigrationContext.SetHeartbeatIntervalMilliseconds(defaultConfig.heartbeatIntervalMilliseconds)migrationContext.SetNiceRatio(defaultConfig.niceRatio)diff --git a/backend/component/webhook/manager.go b/backend/component/webhook/manager.goindex c102838155..c51f3b62d0 100644--- a/backend/component/webhook/manager.go+++ b/backend/component/webhook/manager.go@@ -457,7 +457,7 @@ func maybeGetPhoneFromUser(user *store.UserMessage) (string, error) {// ChangeIssueStatus changes the status of an issue.func ChangeIssueStatus(ctx context.Context, stores *store.Store, webhookManager *Manager, issue *store.IssueMessage, newStatus api.IssueStatus, updater *store.UserMessage, comment string) error {updateIssueMessage := &store.UpdateIssueMessage{Status: &newStatus}- updatedIssue, err := stores.UpdateIssueV2(ctx, issue.UID, updateIssueMessage, updater.ID)+ updatedIssue, err := stores.UpdateIssueV2(ctx, issue.UID, updateIssueMessage)if err != nil {return errors.Wrapf(err, "failed to update issue %q's status", issue.Title)}diff --git a/backend/migrator/migration/3.4/0004##less_creator_2.sql b/backend/migrator/migration/3.4/0004##less_creator_2.sqlnew file mode 100644index 0000000000..4e7825467d--- /dev/null+++ b/backend/migrator/migration/3.4/0004##less_creator_2.sql@@ -0,0 +1,17 @@+ALTER TABLE principal DROP COLUMN IF EXISTS creator_id, DROP COLUMN IF EXISTS updater_id, DROP COLUMN IF EXISTS updated_ts;+ALTER TABLE db DROP COLUMN IF EXISTS row_status, DROP COLUMN IF EXISTS creator_id, DROP COLUMN IF EXISTS created_ts, DROP COLUMN IF EXISTS updater_id, DROP COLUMN IF EXISTS updated_ts;+ALTER TABLE db_schema DROP COLUMN IF EXISTS row_status, DROP COLUMN IF EXISTS creator_id, DROP COLUMN IF EXISTS created_ts, DROP COLUMN IF EXISTS updater_id, DROP COLUMN IF EXISTS updated_ts;+ALTER TABLE sheet DROP COLUMN IF EXISTS row_status, DROP COLUMN IF EXISTS updater_id, DROP COLUMN IF EXISTS updated_ts;+DROP INDEX IF EXISTS idx_sheet_creator_id;+DROP INDEX IF EXISTS idx_sheet_name;+DROP INDEX IF EXISTS idx_sheet_project_id_row_status;+ALTER TABLE pipeline DROP COLUMN IF EXISTS row_status, DROP COLUMN IF EXISTS updater_id, DROP COLUMN IF EXISTS updated_ts;+ALTER TABLE stage DROP COLUMN IF EXISTS row_status, DROP COLUMN IF EXISTS creator_id, DROP COLUMN IF EXISTS created_ts, DROP COLUMN IF EXISTS updater_id, DROP COLUMN IF EXISTS updated_ts;+ALTER TABLE task DROP COLUMN IF EXISTS row_status, DROP COLUMN IF EXISTS creator_id, DROP COLUMN IF EXISTS created_ts, DROP COLUMN IF EXISTS updater_id, DROP COLUMN IF EXISTS updated_ts;+ALTER TABLE task_run DROP COLUMN IF EXISTS updater_id;+ALTER TABLE plan DROP COLUMN IF EXISTS updater_id;+ALTER TABLE plan_check_run DROP COLUMN IF EXISTS creator_id, DROP COLUMN IF EXISTS updater_id;+ALTER TABLE issue DROP COLUMN IF EXISTS updater_id;+ALTER TABLE worksheet DROP COLUMN IF EXISTS row_status, DROP COLUMN IF EXISTS updater_id;+ALTER TABLE changelog DROP COLUMN IF EXISTS creator_id;+ALTER TABLE revision DROP COLUMN IF EXISTS creator_id;\ No newline at end of filediff --git a/backend/migrator/migration/LATEST.sql b/backend/migrator/migration/LATEST.sqlindex 0bfff09da2..ed2c94c74f 100644--- a/backend/migrator/migration/LATEST.sql+++ b/backend/migrator/migration/LATEST.sql@@ -21,10 +21,7 @@ ALTER SEQUENCE idp_id_seq RESTART WITH 101;CREATE TABLE principal (id SERIAL PRIMARY KEY,row_status row_status NOT NULL DEFAULT 'NORMAL',- creator_id INTEGER NOT NULL REFERENCES principal (id),created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),- updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),type TEXT NOT NULL CHECK (type IN ('END_USER', 'SYSTEM_BOT', 'SERVICE_ACCOUNT')),name TEXT NOT NULL,email TEXT NOT NULL,@@ -145,11 +142,6 @@ ALTER SEQUENCE instance_id_seq RESTART WITH 101;-- data is synced periodically from the instanceCREATE TABLE db (id SERIAL PRIMARY KEY,- row_status row_status NOT NULL DEFAULT 'NORMAL',- creator_id INTEGER NOT NULL REFERENCES principal (id),- created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),- updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),instance_id INTEGER NOT NULL REFERENCES instance (id),project_id INTEGER NOT NULL REFERENCES project (id),environment TEXT REFERENCES environment (resource_id),@@ -175,11 +167,6 @@ ALTER SEQUENCE db_id_seq RESTART WITH 101;-- db_schema stores the database schema metadata for a particular database.CREATE TABLE db_schema (id SERIAL PRIMARY KEY,- row_status row_status NOT NULL DEFAULT 'NORMAL',- creator_id INTEGER NOT NULL REFERENCES principal (id),- created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),- updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),database_id INTEGER NOT NULL REFERENCES db (id) ON DELETE CASCADE,metadata JSON NOT NULL DEFAULT '{}',raw_dump TEXT NOT NULL DEFAULT '',@@ -219,24 +206,16 @@ CREATE TABLE sheet_blob (-- sheet table stores general statements.CREATE TABLE sheet (id SERIAL PRIMARY KEY,- row_status row_status NOT NULL DEFAULT 'NORMAL',creator_id INTEGER NOT NULL REFERENCES principal (id),created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),- updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),project_id INTEGER NOT NULL REFERENCES project (id),name TEXT NOT NULL,sha256 BYTEA NOT NULL,payload JSONB NOT NULL DEFAULT '{}');-CREATE INDEX idx_sheet_creator_id ON sheet(creator_id);-CREATE INDEX idx_sheet_project_id ON sheet(project_id);-CREATE INDEX idx_sheet_name ON sheet(name);--CREATE INDEX idx_sheet_project_id_row_status ON sheet(project_id, row_status);ALTER SEQUENCE sheet_id_seq RESTART WITH 101;@@ -245,11 +224,8 @@ ALTER SEQUENCE sheet_id_seq RESTART WITH 101;-- pipeline tableCREATE TABLE pipeline (id SERIAL PRIMARY KEY,- row_status row_status NOT NULL DEFAULT 'NORMAL',creator_id INTEGER NOT NULL REFERENCES principal (id),created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),- updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),project_id INTEGER NOT NULL REFERENCES project (id),name TEXT NOT NULL);@@ -259,11 +235,6 @@ ALTER SEQUENCE pipeline_id_seq RESTART WITH 101;-- stage table stores the stage for the pipelineCREATE TABLE stage (id SERIAL PRIMARY KEY,- row_status row_status NOT NULL DEFAULT 'NORMAL',- creator_id INTEGER NOT NULL REFERENCES principal (id),- created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),- updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),pipeline_id INTEGER NOT NULL REFERENCES pipeline (id),environment_id INTEGER NOT NULL REFERENCES environment (id),deployment_id TEXT NOT NULL DEFAULT '',@@ -277,11 +248,6 @@ ALTER SEQUENCE stage_id_seq RESTART WITH 101;-- task table stores the task for the stageCREATE TABLE task (id SERIAL PRIMARY KEY,- row_status row_status NOT NULL DEFAULT 'NORMAL',- creator_id INTEGER NOT NULL REFERENCES principal (id),- created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),- updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),pipeline_id INTEGER NOT NULL REFERENCES pipeline (id),stage_id INTEGER NOT NULL REFERENCES stage (id),instance_id INTEGER NOT NULL REFERENCES instance (id),@@ -321,7 +287,6 @@ CREATE TABLE task_run (id SERIAL PRIMARY KEY,creator_id INTEGER NOT NULL REFERENCES principal (id),created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),task_id INTEGER NOT NULL REFERENCES task (id),sheet_id INTEGER REFERENCES sheet (id),@@ -359,7 +324,6 @@ CREATE TABLE plan (row_status row_status NOT NULL DEFAULT 'NORMAL',creator_id INTEGER NOT NULL REFERENCES principal (id),created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),project_id INTEGER NOT NULL REFERENCES project (id),pipeline_id INTEGER REFERENCES pipeline (id),@@ -376,9 +340,7 @@ ALTER SEQUENCE plan_id_seq RESTART WITH 101;CREATE TABLE plan_check_run (id SERIAL PRIMARY KEY,- creator_id INTEGER NOT NULL REFERENCES principal (id),created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),plan_id BIGINT NOT NULL REFERENCES plan (id),status TEXT NOT NULL CHECK (status IN ('RUNNING', 'DONE', 'FAILED', 'CANCELED')),@@ -400,7 +362,6 @@ CREATE TABLE issue (row_status row_status NOT NULL DEFAULT 'NORMAL',creator_id INTEGER NOT NULL REFERENCES principal (id),created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),project_id INTEGER NOT NULL REFERENCES project (id),plan_id BIGINT REFERENCES plan (id),@@ -560,10 +521,8 @@ ALTER SEQUENCE deployment_config_id_seq RESTART WITH 101;-- worksheet table stores worksheets in SQL Editor.CREATE TABLE worksheet (id SERIAL PRIMARY KEY,- row_status row_status NOT NULL DEFAULT 'NORMAL',creator_id INTEGER NOT NULL REFERENCES principal (id),created_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),- updater_id INTEGER NOT NULL REFERENCES principal (id),updated_ts BIGINT NOT NULL DEFAULT extract(epoch from now()),project_id INTEGER NOT NULL REFERENCES project (id),database_id INTEGER NULL REFERENCES db (id),@@ -690,7 +649,6 @@ CREATE TABLE review_config (CREATE TABLE revision (id BIGSERIAL PRIMARY KEY,database_id INTEGER NOT NULL REFERENCES db (id),- creator_id INTEGER NOT NULL REFERENCES principal (id),created_ts TIMESTAMPTZ NOT NULL DEFAULT now(),deleter_id INTEGER REFERENCES principal (id),deleted_ts TIMESTAMPTZ,@@ -718,7 +676,6 @@ CREATE INDEX IF NOT EXISTS idx_sync_history_database_id_created_ts ON sync_histoCREATE TABLE changelog (id BIGSERIAL PRIMARY KEY,- creator_id INTEGER NOT NULL REFERENCES principal (id),created_ts TIMESTAMPTZ NOT NULL DEFAULT now(),database_id INTEGER NOT NULL REFERENCES db (id),status TEXT NOT NULL CONSTRAINT changelog_status_check CHECK (status IN ('PENDING', 'DONE', 'FAILED')),@@ -746,7 +703,7 @@ CREATE INDEX idx_release_project_id ON release (project_id);-- Default bytebase system account id is 1.-INSERT INTO principal (id, creator_id, updater_id, type, name, email, password_hash) VALUES (1, 1, 1, 'SYSTEM_BOT', 'Bytebase', '[email protected]', '');+INSERT INTO principal (id, type, name, email, password_hash) VALUES (1, 'SYSTEM_BOT', 'Bytebase', '[email protected]', '');ALTER SEQUENCE principal_id_seq RESTART WITH 101;diff --git a/backend/migrator/migrator_test.go b/backend/migrator/migrator_test.goindex dfec729a08..1d77c9f72b 100644--- a/backend/migrator/migrator_test.go+++ b/backend/migrator/migrator_test.go@@ -212,5 +212,5 @@ func TestMigrationCompatibility(t *testing.T) {func TestGetCutoffVersion(t *testing.T) {releaseVersion, err := getProdCutoffVersion()require.NoError(t, err)- require.Equal(t, semver.MustParse("3.4.3"), releaseVersion)+ require.Equal(t, semver.MustParse("3.4.4"), releaseVersion)}diff --git a/backend/plugin/db/driver.go b/backend/plugin/db/driver.goindex 2be8650725..f86c03fc48 100644--- a/backend/plugin/db/driver.go+++ b/backend/plugin/db/driver.go@@ -154,7 +154,6 @@ type MigrationInfo struct {DatabaseID *intProjectUID *intIssueUID *int- CreatorID intReleaseVersion stringNamespace string@@ -164,7 +163,6 @@ type MigrationInfo struct {Type MigrationTypeStatus MigrationStatusDescription string- Creator string// Payload contains JSON-encoded string of VCS push event if the migration is triggered by a VCS push event.Payload *storepb.InstanceChangeHistoryPayloaddiff --git a/backend/runner/approval/runner.go b/backend/runner/approval/runner.goindex 397333b890..8d574a7d98 100644--- a/backend/runner/approval/runner.go+++ b/backend/runner/approval/runner.go@@ -850,7 +850,7 @@ func updateIssueApprovalPayload(ctx context.Context, s *store.Store, issue *storPayloadUpsert: &storepb.IssuePayload{Approval: approval,},- }, api.SystemBotID); err != nil {+ }); err != nil {return errors.Wrap(err, "failed to update issue payload")}return nildiff --git a/backend/runner/plancheck/ghost_sync_executor.go b/backend/runner/plancheck/ghost_sync_executor.goindex f3a912d2a0..1fe646493b 100644--- a/backend/runner/plancheck/ghost_sync_executor.go+++ b/backend/runner/plancheck/ghost_sync_executor.go@@ -101,7 +101,7 @@ func (e *GhostSyncExecutor) Run(ctx context.Context, config *storepb.PlanCheckRureturn nil, common.Wrapf(err, common.Internal, "failed to parse table name from statement, statement: %v", statement)}- migrationContext, err := ghost.NewMigrationContext(ctx, rand.Intn(10000000), rand.Int63n(10000000), database, adminDataSource, e.secret, tableName, fmt.Sprintf("_dryrun_%d", time.Now().Unix()), renderedStatement, true, config.GhostFlags, 20000000)+ migrationContext, err := ghost.NewMigrationContext(ctx, rand.Intn(10000000), database, adminDataSource, e.secret, tableName, fmt.Sprintf("_dryrun_%d", time.Now().Unix()), renderedStatement, true, config.GhostFlags, 20000000)if err != nil {return nil, common.Wrapf(err, common.Internal, "failed to create migration context")}diff --git a/backend/runner/plancheck/scheduler.go b/backend/runner/plancheck/scheduler.goindex f08d75e5d2..b88bd60489 100644--- a/backend/runner/plancheck/scheduler.go+++ b/backend/runner/plancheck/scheduler.go@@ -13,7 +13,6 @@ import ("github.com/bytebase/bytebase/backend/common/log""github.com/bytebase/bytebase/backend/component/state"enterprise "github.com/bytebase/bytebase/backend/enterprise/api"- api "github.com/bytebase/bytebase/backend/legacyapi""github.com/bytebase/bytebase/backend/store"storepb "github.com/bytebase/bytebase/proto/generated-go/store")@@ -148,7 +147,6 @@ func (s *Scheduler) markPlanCheckRunDone(ctx context.Context, planCheckRun *storResults: results,}if err := s.store.UpdatePlanCheckRun(ctx,- api.SystemBotID,store.PlanCheckRunStatusDone,result,planCheckRun.UID,@@ -162,7 +160,6 @@ func (s *Scheduler) markPlanCheckRunFailed(ctx context.Context, planCheckRun *stError: reason,}if err := s.store.UpdatePlanCheckRun(ctx,- api.SystemBotID,store.PlanCheckRunStatusFailed,result,planCheckRun.UID,@@ -176,7 +173,6 @@ func (s *Scheduler) markPlanCheckRunCanceled(ctx context.Context, planCheckRun *Error: reason,}if err := s.store.UpdatePlanCheckRun(ctx,- api.SystemBotID,store.PlanCheckRunStatusCanceled,result,planCheckRun.UID,diff --git a/backend/runner/relay/runner.go b/backend/runner/relay/runner.goindex 3879609b75..9384d38828 100644--- a/backend/runner/relay/runner.go+++ b/backend/runner/relay/runner.go@@ -260,7 +260,7 @@ func (r *Runner) ApproveExternalApprovalNode(ctx context.Context, issueUID int)PayloadUpsert: &storepb.IssuePayload{Approval: payload.Approval,},- }, api.SystemBotID)+ })if err != nil {return errors.Wrapf(err, "failed to update issue")}@@ -379,7 +379,7 @@ func (r *Runner) RejectExternalApprovalNode(ctx context.Context, issueUID int) ePayloadUpsert: &storepb.IssuePayload{Approval: payload.Approval,},- }, api.SystemBotID)+ })if err != nil {return errors.Wrapf(err, "failed to update issue")}diff --git a/backend/runner/schemasync/syncer.go b/backend/runner/schemasync/syncer.goindex 194da0af48..e4984fe518 100644--- a/backend/runner/schemasync/syncer.go+++ b/backend/runner/schemasync/syncer.go@@ -338,7 +338,7 @@ func (s *Syncer) SyncInstance(ctx context.Context, instance *store.InstanceMessaInstanceID: instance.ResourceID,DatabaseName: database.DatabaseName,SyncState: &syncStatus,- }, api.SystemBotID); err != nil {+ }); err != nil {return nil, nil, nil, errors.Errorf("failed to update database %q for instance %q", database.DatabaseName, instance.ResourceID)}}@@ -419,7 +419,7 @@ func (s *Syncer) SyncDatabaseSchemaToHistory(ctx context.Context, database *storLastSyncTime: timestamppb.New(time.Unix(ts, 0)),BackupAvailable: s.hasBackupSchema(ctx, instance, databaseMetadata),},- }, api.SystemBotID); err != nil {+ }); err != nil {return 0, errors.Wrapf(err, "failed to update database %q for instance %q", database.DatabaseName, database.InstanceID)}@@ -443,7 +443,6 @@ func (s *Syncer) SyncDatabaseSchemaToHistory(ctx context.Context, database *storif err := s.store.UpsertDBSchema(ctx,database.UID,model.NewDBSchema(databaseMetadata, rawDump, dbModelConfig.BuildDatabaseConfig()),- api.SystemBotID,); err != nil {if strings.Contains(err.Error(), "escape sequence") {if metadataBytes, err := protojson.Marshal(databaseMetadata); err == nil {@@ -538,7 +537,7 @@ func (s *Syncer) SyncDatabaseSchema(ctx context.Context, database *store.DatabasLastSyncTime: timestamppb.New(time.Unix(ts, 0)),BackupAvailable: s.hasBackupSchema(ctx, instance, databaseMetadata),},- }, api.SystemBotID); err != nil {+ }); err != nil {return errors.Wrapf(err, "failed to update database %q for instance %q", database.DatabaseName, database.InstanceID)}@@ -562,7 +561,6 @@ func (s *Syncer) SyncDatabaseSchema(ctx context.Context, database *store.Databasif err := s.store.UpsertDBSchema(ctx,database.UID,model.NewDBSchema(databaseMetadata, rawDump, dbModelConfig.BuildDatabaseConfig()),- api.SystemBotID,); err != nil {if strings.Contains(err.Error(), "escape sequence") {if metadataBytes, err := protojson.Marshal(databaseMetadata); err == nil {diff --git a/backend/runner/taskrun/data_export_executor.go b/backend/runner/taskrun/data_export_executor.goindex c0d7bf38e6..ceef64ff8d 100644--- a/backend/runner/taskrun/data_export_executor.go+++ b/backend/runner/taskrun/data_export_executor.go@@ -42,7 +42,6 @@ type DataExportExecutor struct {// RunOnce will run the data export task executor once.func (exec *DataExportExecutor) RunOnce(ctx context.Context, _ context.Context, task *store.TaskMessage, _ int) (terminated bool, result *storepb.TaskRunResult, err error) {- ctx = context.WithValue(ctx, common.PrincipalIDContextKey, task.CreatorID)payload := &storepb.TaskDatabaseDataExportPayload{}if err := common.ProtojsonUnmarshaler.Unmarshal([]byte(task.Payload), payload); err != nil {return true, nil, errors.Wrap(err, "invalid database data export payload")diff --git a/backend/runner/taskrun/database_create_executor.go b/backend/runner/taskrun/database_create_executor.goindex b49182cd29..c3b8341951 100644--- a/backend/runner/taskrun/database_create_executor.go+++ b/backend/runner/taskrun/database_create_executor.go@@ -168,7 +168,7 @@ func (exec *DatabaseCreateExecutor) RunOnce(ctx context.Context, driverCtx conteInstanceID: instance.ResourceID,DatabaseName: payload.DatabaseName,SyncState: &syncStatus,- }, api.SystemBotID); err != nil {+ }); err != nil {return true, nil, err}@@ -314,8 +314,6 @@ func (exec *DatabaseCreateExecutor) reconcilePlan(ctx context.Context, project *continue}taskCreate := &store.TaskMessage{- CreatorID: api.SystemBotID,- UpdaterID: api.SystemBotID,PipelineID: task.PipelineID,StageID: task.StageID,Name: fmt.Sprintf("Copied task for database %q from %q", createdDatabase.DatabaseName, peerDatabase.DatabaseName),@@ -362,7 +360,6 @@ func (exec *DatabaseCreateExecutor) createInitialSchema(ctx context.Context, dri// TODO(d): support semantic versioning.mi := &db.MigrationInfo{InstanceID: &task.InstanceID,- CreatorID: task.CreatorID,ReleaseVersion: exec.profile.Version,Namespace: database.DatabaseName,Database: database.DatabaseName,@@ -372,17 +369,7 @@ func (exec *DatabaseCreateExecutor) createInitialSchema(ctx context.Context, driType: db.Migrate,Description: "Create database",}- creator, err := exec.store.GetUserByID(ctx, task.CreatorID)- if err != nil {- // If somehow we unable to find the principal, we just emit the error since it's not- // critical enough to fail the entire operation.- slog.Error("Failed to fetch creator for composing the migration info",- slog.Int("task_id", task.ID),- log.BBError(err),- )- } else {- mi.Creator = creator.Name- }+issue, err := exec.store.GetIssueV2(ctx, &store.FindIssueMessage{PipelineID: &task.PipelineID})if err != nil {// If somehow we unable to find the issue, we just emit the error since it's notdiff --git a/backend/runner/taskrun/executor.go b/backend/runner/taskrun/executor.goindex c1dffac027..11ac9afcf2 100644--- a/backend/runner/taskrun/executor.go+++ b/backend/runner/taskrun/executor.go@@ -110,7 +110,6 @@ func getMigrationInfo(ctx context.Context, stores *store.Store, profile *config.mi := &db.MigrationInfo{InstanceID: &instance.UID,DatabaseID: &database.UID,- CreatorID: task.CreatorID,ReleaseVersion: profile.Version,Type: migrationType,Description: task.Name,@@ -231,18 +230,6 @@ func getMigrationInfo(ctx context.Context, stores *store.Store, profile *config.}mi.Source = db.UI- creator, err := stores.GetUserByID(ctx, task.CreatorID)- if err != nil {- // If somehow we unable to find the principal, we just emit the error since it's not- // critical enough to fail the entire operation.- slog.Error("Failed to fetch creator for composing the migration info",- slog.Int("task_id", task.ID),- log.BBError(err),- )- } else {- mi.Creator = creator.Name- mi.CreatorID = creator.ID- }statement = strings.TrimSpace(statement)// Only baseline and SDL migration can have empty sql statement, which indicates empty database.@@ -509,7 +496,7 @@ func beginMigration(ctx context.Context, stores *store.Store, mi *db.MigrationInSheet: mc.sheetName,Version: mc.version,Type: convertTaskType(mc.task.Type),- }}, mi.CreatorID)+ }})if err != nil {return false, errors.Wrapf(err, "failed to create changelog")}@@ -551,7 +538,7 @@ func endMigration(ctx context.Context, storeInstance *store.Store, mi *db.Migratr.Payload.SheetSha256 = mc.sheet.GetSha256Hex()}- revision, err := storeInstance.CreateRevision(ctx, r, mi.CreatorID)+ revision, err := storeInstance.CreateRevision(ctx, r)if err != nil {return errors.Wrapf(err, "failed to create revision")}diff --git a/backend/runner/taskrun/schedulerv2.go b/backend/runner/taskrun/schedulerv2.goindex b1bb2f8c25..a8bb096cc0 100644--- a/backend/runner/taskrun/schedulerv2.go+++ b/backend/runner/taskrun/schedulerv2.go@@ -838,7 +838,7 @@ func (s *SchedulerV2) ListenTaskSkippedOrDone(ctx context.Context) {}newStatus := api.IssueDone- updatedIssue, err := s.store.UpdateIssueV2(ctx, issue.UID, &store.UpdateIssueMessage{Status: &newStatus}, api.SystemBotID)+ updatedIssue, err := s.store.UpdateIssueV2(ctx, issue.UID, &store.UpdateIssueMessage{Status: &newStatus})if err != nil {return errors.Wrapf(err, "failed to update issue status")}diff --git a/backend/runner/taskrun/schema_update_ghost_cutover_executor.go b/backend/runner/taskrun/schema_update_ghost_cutover_executor.goindex 8c7c9e27d6..a336d8cb68 100644--- a/backend/runner/taskrun/schema_update_ghost_cutover_executor.go+++ b/backend/runner/taskrun/schema_update_ghost_cutover_executor.go@@ -88,7 +88,7 @@ func (e *SchemaUpdateGhostCutoverExecutor) RunOnce(ctx context.Context, taskContreturn true, nil, common.Wrapf(err, common.Internal, "failed to parse table name from statement, statement: %v", statement)}- postponeFilename := ghost.GetPostponeFlagFilename(syncTaskID, syncTask.CreatedTs, database.UID, database.DatabaseName, tableName)+ postponeFilename := ghost.GetPostponeFlagFilename(syncTaskID, database.UID, database.DatabaseName, tableName)value, ok := e.stateCfg.GhostTaskState.Load(syncTaskID)if !ok {diff --git a/backend/runner/taskrun/schema_update_ghost_sync_executor.go b/backend/runner/taskrun/schema_update_ghost_sync_executor.goindex c766ea1d0d..0cfbe2cdc5 100644--- a/backend/runner/taskrun/schema_update_ghost_sync_executor.go+++ b/backend/runner/taskrun/schema_update_ghost_sync_executor.go@@ -96,7 +96,7 @@ func (exec *SchemaUpdateGhostSyncExecutor) runGhostMigration(ctx context.Context// To avoid leaking the rendered statement, the error message should use the original statement and not the rendered statement.renderedStatement := utils.RenderStatement(statement, materials)- migrationContext, err := ghost.NewMigrationContext(ctx, task.ID, task.CreatedTs, database, adminDataSource, exec.secret, tableName, "", renderedStatement, false, flags, 10000000)+ migrationContext, err := ghost.NewMigrationContext(ctx, task.ID, database, adminDataSource, exec.secret, tableName, "", renderedStatement, false, flags, 10000000)if err != nil {return true, nil, errors.Wrap(err, "failed to init migrationContext for gh-ost")}diff --git a/backend/server/init.go b/backend/server/init.goindex bb5b61b3cb..fddffebed9 100644--- a/backend/server/init.go+++ b/backend/server/init.go@@ -277,7 +277,7 @@ func (s *Server) migrateMaskingData(ctx context.Context) error {}}- if err := s.store.UpdateDBSchema(ctx, policy.ResourceUID, &store.UpdateDBSchemaMessage{Config: dbModelConfig.BuildDatabaseConfig()}, api.SystemBotID); err != nil {+ if err := s.store.UpdateDBSchema(ctx, policy.ResourceUID, &store.UpdateDBSchemaMessage{Config: dbModelConfig.BuildDatabaseConfig()}); err != nil {return errors.Wrapf(err, "failed to update db config for database %v", policy.ResourceUID)}if err := s.store.DeletePolicyV2(ctx, &store.PolicyMessage{@@ -338,7 +338,7 @@ func (s *Server) migrateCatalog(ctx context.Context) error {}}if updated {- if err := s.store.UpdateDBSchema(ctx, databaseID, &store.UpdateDBSchemaMessage{Config: cfg}, api.SystemBotID); err != nil {+ if err := s.store.UpdateDBSchema(ctx, databaseID, &store.UpdateDBSchemaMessage{Config: cfg}); err != nil {return errors.Wrapf(err, "failed to update db config for database %v", databaseID)}slog.Info("migrated catalog for database", slog.Int("databaseID", databaseID))diff --git a/backend/server/onboard.go b/backend/server/onboard.goindex 4a81041404..dcb3c6ef3a 100644--- a/backend/server/onboard.go+++ b/backend/server/onboard.go@@ -70,7 +70,7 @@ func (s *Server) generateOnboardingData(ctx context.Context, user *store.UserMesDatabaseName: postgres.SampleDatabaseTest,ProjectID: &project.ResourceID,}- _, err = s.store.UpdateDatabase(ctx, transferDatabaseMessage, userID)+ _, err = s.store.UpdateDatabase(ctx, transferDatabaseMessage)if err != nil {return errors.Wrapf(err, "failed to transfer test sample database")}@@ -129,7 +129,7 @@ func (s *Server) generateOnboardingData(ctx context.Context, user *store.UserMesDatabaseName: postgres.SampleDatabaseProd,ProjectID: &project.ResourceID,}- _, err = s.store.UpdateDatabase(ctx, transferDatabaseMessage, userID)+ _, err = s.store.UpdateDatabase(ctx, transferDatabaseMessage)if err != nil {return errors.Wrapf(err, "failed to transfer prod sample database")}@@ -319,7 +319,7 @@ func (s *Server) generateOnboardingData(ctx context.Context, user *store.UserMescolumnConfig := tableConfig.CreateOrGetColumnConfig("amount")columnConfig.SemanticType = "default"- if err := s.store.UpdateDBSchema(ctx, prodDatabase.UID, &store.UpdateDBSchemaMessage{Config: dbModelConfig.BuildDatabaseConfig()}, userID); err != nil {+ if err := s.store.UpdateDBSchema(ctx, prodDatabase.UID, &store.UpdateDBSchemaMessage{Config: dbModelConfig.BuildDatabaseConfig()}); err != nil {return errors.Wrapf(err, "failed to update db config for database %v", prodDatabase.UID)}diff --git a/backend/store/changelog.go b/backend/store/changelog.goindex b676483f9f..5735a77f03 100644--- a/backend/store/changelog.go+++ b/backend/store/changelog.go@@ -37,7 +37,6 @@ type ChangelogMessage struct {// output onlyUID int64- CreatorUID intCreatedTime time.TimePrevSchema string@@ -70,10 +69,9 @@ type UpdateChangelogMessage struct {Status *ChangelogStatus}-func (s *Store) CreateChangelog(ctx context.Context, create *ChangelogMessage, creatorUID int) (int64, error) {+func (s *Store) CreateChangelog(ctx context.Context, create *ChangelogMessage) (int64, error) {query := `INSERT INTO changelog (- creator_id,database_id,status,prev_sync_history_id,@@ -84,8 +82,7 @@ func (s *Store) CreateChangelog(ctx context.Context, create *ChangelogMessage, c$2,$3,$4,- $5,- $6+ $5)RETURNING id`@@ -102,7 +99,7 @@ func (s *Store) CreateChangelog(ctx context.Context, create *ChangelogMessage, c}var id int64- if err := tx.QueryRowContext(ctx, query, creatorUID, create.DatabaseUID, create.Status, create.PrevSyncHistoryUID, create.SyncHistoryUID, p).Scan(&id); err != nil {+ if err := tx.QueryRowContext(ctx, query, create.DatabaseUID, create.Status, create.PrevSyncHistoryUID, create.SyncHistoryUID, p).Scan(&id); err != nil {return 0, errors.Wrapf(err, "failed to insert")}@@ -204,7 +201,6 @@ func (s *Store) ListChangelogs(ctx context.Context, find *FindChangelogMessage)query := fmt.Sprintf(`SELECTchangelog.id,- changelog.creator_id,changelog.created_ts,changelog.database_id,changelog.status,@@ -249,7 +245,6 @@ func (s *Store) ListChangelogs(ctx context.Context, find *FindChangelogMessage)if err := rows.Scan(&c.UID,- &c.CreatorUID,&c.CreatedTime,&c.DatabaseUID,&c.Status,diff --git a/backend/store/database.go b/backend/store/database.goindex 208d96d11e..72e743e292 100644--- a/backend/store/database.go+++ b/backend/store/database.go@@ -5,7 +5,6 @@ import ("database/sql""fmt""strings"- "time""github.com/pkg/errors""google.golang.org/protobuf/encoding/protojson"@@ -182,12 +181,8 @@ func (*Store) createDatabaseDefaultImpl(ctx context.Context, tx *Tx, projectUID,return 0, err}- // We will do on conflict update the column updater_id for returning the ID because on conflict do nothing will not return anything.- // We will also move the deleted database into default project.query := `INSERT INTO db (- creator_id,- updater_id,instance_id,project_id,name,@@ -198,9 +193,8 @@ func (*Store) createDatabaseDefaultImpl(ctx context.Context, tx *Tx, projectUID,datashare,service_name)- VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11)+ VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)ON CONFLICT (instance_id, name) DO UPDATE SET- updater_id = EXCLUDED.updater_id,project_id = EXCLUDED.project_id,sync_status = EXCLUDED.sync_status,last_successful_sync_ts = EXCLUDED.last_successful_sync_ts,@@ -209,8 +203,6 @@ func (*Store) createDatabaseDefaultImpl(ctx context.Context, tx *Tx, projectUID,RETURNING id`var databaseUID intif err := tx.QueryRowContext(ctx, query,- api.SystemBotID,- api.SystemBotID,instanceUID,projectUID,create.DatabaseName,@@ -264,11 +256,8 @@ func (s *Store) UpsertDatabase(ctx context.Context, create *DatabaseMessage) (*Dif create.EnvironmentID != "" {environment = &create.EnvironmentID}- // We will do on conflict update the column updater_id for returning the ID because on conflict do nothing will not return anything.query := `INSERT INTO db (- creator_id,- updater_id,instance_id,project_id,environment,@@ -281,19 +270,16 @@ func (s *Store) UpsertDatabase(ctx context.Context, create *DatabaseMessage) (*Dservice_name,metadata)- VALUES ($1, $2, $3, $4, $5, $6, $7, $8, '', $9, $10, $11, $12)+ VALUES ($1, $2, $3, $4, $5, $6, '', $7, $8, $9, $10)ON CONFLICT (instance_id, name) DO UPDATE SETproject_id = EXCLUDED.project_id,environment = EXCLUDED.environment,name = EXCLUDED.name,schema_version = EXCLUDED.schema_version,- metadata = EXCLUDED.metadata,- updated_ts = extract(epoch from now())+ metadata = EXCLUDED.metadataRETURNING id`var databaseUID intif err := tx.QueryRowContext(ctx, query,- api.SystemBotID,- api.SystemBotID,instance.UID,project.UID,environment,@@ -320,13 +306,13 @@ func (s *Store) UpsertDatabase(ctx context.Context, create *DatabaseMessage) (*D}// UpdateDatabase updates a database.-func (s *Store) UpdateDatabase(ctx context.Context, patch *UpdateDatabaseMessage, updaterID int) (*DatabaseMessage, error) {+func (s *Store) UpdateDatabase(ctx context.Context, patch *UpdateDatabaseMessage) (*DatabaseMessage, error) {instance, err := s.GetInstanceV2(ctx, &FindInstanceMessage{ResourceID: &patch.InstanceID})if err != nil {return nil, err}- set, args := []string{"updater_id = $1", "updated_ts = $2"}, []any{updaterID, time.Now().Unix()}+ set, args := []string{}, []any{}if v := patch.ProjectID; v != nil {project, err := s.GetProjectV2(ctx, &FindProjectMessage{ResourceID: patch.ProjectID})if err != nil {@@ -402,7 +388,7 @@ func (s *Store) UpdateDatabase(ctx context.Context, patch *UpdateDatabaseMessage}// BatchUpdateDatabaseProject updates the project for databases in batch.-func (s *Store) BatchUpdateDatabaseProject(ctx context.Context, databases []*DatabaseMessage, projectID string, updaterID int) ([]*DatabaseMessage, error) {+func (s *Store) BatchUpdateDatabaseProject(ctx context.Context, databases []*DatabaseMessage, projectID string) ([]*DatabaseMessage, error) {if len(databases) == 0 {return nil, errors.Errorf("there is no database in the project")}@@ -418,7 +404,7 @@ func (s *Store) BatchUpdateDatabaseProject(ctx context.Context, databases []*Datdefer tx.Rollback()var wheres []string- args := []any{project.UID, updaterID}+ args := []any{project.UID}for i, database := range databases {wheres = append(wheres, fmt.Sprintf("(instance.resource_id = $%d AND db.name = $%d)", 2*i+3, 2*i+4))args = append(args, database.InstanceID, database.DatabaseName)@@ -429,7 +415,7 @@ func (s *Store) BatchUpdateDatabaseProject(ctx context.Context, databases []*Dat}if _, err := tx.ExecContext(ctx, fmt.Sprintf(`UPDATE db- SET project_id = $1, updater_id = $2+ SET project_id = $1FROM instanceWHERE db.instance_id = instance.id %s;`, databaseClause),args...,diff --git a/backend/store/db_schema.go b/backend/store/db_schema.goindex bcb838591c..9344aa83b7 100644--- a/backend/store/db_schema.go+++ b/backend/store/db_schema.go@@ -5,7 +5,6 @@ import ("database/sql""fmt""strings"- "time""google.golang.org/protobuf/encoding/protojson"@@ -70,7 +69,7 @@ func (s *Store) GetDBSchema(ctx context.Context, databaseID int) (*model.DBSchem}// UpsertDBSchema upserts a database schema.-func (s *Store) UpsertDBSchema(ctx context.Context, databaseID int, dbSchema *model.DBSchema, updaterID int) error {+func (s *Store) UpsertDBSchema(ctx context.Context, databaseID int, dbSchema *model.DBSchema) error {metadataBytes, err := protojson.Marshal(dbSchema.GetMetadata())if err != nil {return err@@ -82,19 +81,16 @@ func (s *Store) UpsertDBSchema(ctx context.Context, databaseID int, dbSchema *moquery := `INSERT INTO db_schema (- creator_id,- updater_id,database_id,metadata,raw_dump,config)- VALUES ($1, $2, $3, $4, $5, $6)+ VALUES ($1, $2, $3, $4)ON CONFLICT(database_id) DO UPDATE SETmetadata = EXCLUDED.metadata,raw_dump = EXCLUDED.raw_dump,- config = EXCLUDED.config,- updated_ts = extract(epoch from now())+ config = EXCLUDED.configRETURNING metadata, raw_dump, config`tx, err := s.db.BeginTx(ctx, nil)@@ -105,8 +101,6 @@ func (s *Store) UpsertDBSchema(ctx context.Context, databaseID int, dbSchema *movar metadata, schema, config []byteif err := tx.QueryRowContext(ctx, query,- updaterID,- updaterID,databaseID,metadataBytes,// Convert to string because []byte{} is null which violates db schema constraints.@@ -163,8 +157,8 @@ func (s *Store) ListLegacyCatalog(ctx context.Context) ([]int, error) {}// UpdateDBSchema updates a database schema.-func (s *Store) UpdateDBSchema(ctx context.Context, databaseID int, patch *UpdateDBSchemaMessage, updaterID int) error {- set, args := []string{"updater_id = $1", "updated_ts = $2"}, []any{updaterID, time.Now().Unix()}+func (s *Store) UpdateDBSchema(ctx context.Context, databaseID int, patch *UpdateDBSchemaMessage) error {+ set, args := []string{}, []any{}if v := patch.Config; v != nil {bytes, err := protojson.Marshal(v)if err != nil {diff --git a/backend/store/issue.go b/backend/store/issue.goindex 09534446a2..e8afbd555f 100644--- a/backend/store/issue.go+++ b/backend/store/issue.go@@ -49,7 +49,6 @@ type IssueMessage struct {UID intCreator *UserMessageCreatedTime time.Time- Updater *UserMessageUpdatedTime time.Time// Internal fields.@@ -57,7 +56,6 @@ type IssueMessage struct {subscriberUIDs []intcreatorUID intcreatedTs int64- updaterUID intupdatedTs int64}@@ -155,7 +153,6 @@ func (s *Store) CreateIssueV2(ctx context.Context, create *IssueMessage, creatorquery := `INSERT INTO issue (creator_id,- updater_id,project_id,pipeline_id,plan_id,@@ -166,7 +163,7 @@ func (s *Store) CreateIssueV2(ctx context.Context, create *IssueMessage, creatorpayload,ts_vector)- VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11)+ VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)RETURNING id, created_ts, updated_ts`@@ -177,7 +174,6 @@ func (s *Store) CreateIssueV2(ctx context.Context, create *IssueMessage, creatordefer tx.Rollback()if err := tx.QueryRowContext(ctx, query,- creatorID,creatorID,create.Project.UID,create.PipelineUID,@@ -201,7 +197,6 @@ func (s *Store) CreateIssueV2(ctx context.Context, create *IssueMessage, creatorcreate.CreatedTime = time.Unix(create.createdTs, 0)create.UpdatedTime = time.Unix(create.updatedTs, 0)create.Creator = creator- create.Updater = creatorif err := tx.Commit(); err != nil {return nil, err@@ -215,13 +210,13 @@ func (s *Store) CreateIssueV2(ctx context.Context, create *IssueMessage, creator}// UpdateIssueV2 updates an issue.-func (s *Store) UpdateIssueV2(ctx context.Context, uid int, patch *UpdateIssueMessage, updaterID int) (*IssueMessage, error) {+func (s *Store) UpdateIssueV2(ctx context.Context, uid int, patch *UpdateIssueMessage) (*IssueMessage, error) {oldIssue, err := s.GetIssueV2(ctx, &FindIssueMessage{UID: &uid})if err != nil {return nil, err}- set, args := []string{"updater_id = $1", "updated_ts = $2"}, []any{updaterID, time.Now().Unix()}+ set, args := []string{"updated_ts = $1"}, []any{time.Now().Unix()}if v := patch.PipelineUID; v != nil {set, args = append(set, fmt.Sprintf("pipeline_id = $%d", len(args)+1)), append(args, *v)}@@ -454,7 +449,6 @@ func (s *Store) ListIssueV2(ctx context.Context, find *FindIssueMessage) ([]*Ississue.id,issue.creator_id,issue.created_ts,- issue.updater_id,issue.updated_ts,issue.project_id,issue.pipeline_id,@@ -512,7 +506,6 @@ func (s *Store) ListIssueV2(ctx context.Context, find *FindIssueMessage) ([]*Iss&issue.UID,&issue.creatorUID,&issue.createdTs,- &issue.updaterUID,&issue.updatedTs,&issue.projectUID,&issue.PipelineUID,@@ -558,11 +551,6 @@ func (s *Store) ListIssueV2(ctx context.Context, find *FindIssueMessage) ([]*Issreturn nil, err}issue.Creator = creator- updater, err := s.GetUserByID(ctx, issue.updaterUID)- if err != nil {- return nil, err- }- issue.Updater = updaterfor _, subscriberUID := range issue.subscriberUIDs {subscriber, err := s.GetUserByID(ctx, subscriberUID)if err != nil {@@ -583,14 +571,14 @@ func (s *Store) ListIssueV2(ctx context.Context, find *FindIssueMessage) ([]*Iss}// BatchUpdateIssueStatuses updates the status of multiple issues.-func (s *Store) BatchUpdateIssueStatuses(ctx context.Context, issueUIDs []int, status api.IssueStatus, updaterID int) error {+func (s *Store) BatchUpdateIssueStatuses(ctx context.Context, issueUIDs []int, status api.IssueStatus) error {var ids []stringfor _, id := range issueUIDs {ids = append(ids, fmt.Sprintf("%d", id))}query := fmt.Sprintf(`UPDATE issue- SET status = $1, updater_id = $2+ SET status = $1WHERE id IN (%s)RETURNING id, pipeline_id;`, strings.Join(ids, ","))@@ -601,7 +589,7 @@ func (s *Store) BatchUpdateIssueStatuses(ctx context.Context, issueUIDs []int, s}defer tx.Rollback()- rows, err := tx.QueryContext(ctx, query, status, updaterID)+ rows, err := tx.QueryContext(ctx, query, status)if err != nil {return errors.Wrapf(err, "failed to query")}diff --git a/backend/store/pipeline.go b/backend/store/pipeline.goindex 8776fb9218..c7f361c2c7 100644--- a/backend/store/pipeline.go+++ b/backend/store/pipeline.go@@ -20,8 +20,6 @@ type PipelineMessage struct {ID intCreatorUID intCreatedTs int64- UpdaterUID int- UpdatedTs int64IssueID *int}@@ -79,7 +77,7 @@ func (s *Store) CreatePipelineAIO(ctx context.Context, planUID int64, pipeline *}}- createdStages, err := s.createStages(ctx, tx, stagesToCreate, createdPipelineUID, creatorUID)+ createdStages, err := s.createStages(ctx, tx, stagesToCreate, createdPipelineUID)if err != nil {return 0, errors.Wrapf(err, "failed to create stages")}@@ -88,7 +86,6 @@ func (s *Store) CreatePipelineAIO(ctx context.Context, planUID int64, pipeline *var taskCreateList []*TaskMessagefor _, taskCreate := range stage.TaskList {c := taskCreate- c.CreatorID = creatorUIDc.PipelineID = createdPipelineUIDc.StageID = stage.IDtaskCreateList = append(taskCreateList, c)@@ -169,27 +166,23 @@ func (*Store) createPipeline(ctx context.Context, tx *Tx, create *PipelineMessagINSERT INTO pipeline (project_id,creator_id,- updater_id,name)VALUES ((SELECT project.id FROM project WHERE project.resource_id = $1),$2,- $3,- $4+ $3)RETURNING id, created_ts`pipeline := &PipelineMessage{ProjectID: create.ProjectID,CreatorUID: creatorUID,- UpdaterUID: creatorUID,Name: create.Name,}if err := tx.QueryRowContext(ctx, query,create.ProjectID,creatorUID,- creatorUID,create.Name,).Scan(&pipeline.ID,@@ -201,7 +194,6 @@ func (*Store) createPipeline(ctx context.Context, tx *Tx, create *PipelineMessagreturn nil, errors.Wrapf(err, "failed to insert")}- pipeline.UpdatedTs = pipeline.CreatedTsreturn pipeline, nil}@@ -238,8 +230,6 @@ func (s *Store) ListPipelineV2(ctx context.Context, find *PipelineFind) ([]*Pipepipeline.id,pipeline.creator_id,pipeline.created_ts,- pipeline.updater_id,- pipeline.updated_ts,project.resource_id,pipeline.name,issue.id@@ -274,8 +264,6 @@ func (s *Store) ListPipelineV2(ctx context.Context, find *PipelineFind) ([]*Pipe&pipeline.ID,&pipeline.CreatorUID,&pipeline.CreatedTs,- &pipeline.UpdaterUID,- &pipeline.UpdatedTs,&pipeline.ProjectID,&pipeline.Name,&pipeline.IssueID,diff --git a/backend/store/plan.go b/backend/store/plan.goindex d76c4e770a..7e9505a238 100644--- a/backend/store/plan.go+++ b/backend/store/plan.go@@ -26,7 +26,6 @@ type PlanMessage struct {UID int64CreatorUID intCreatedTs int64- UpdaterUID intUpdatedTs int64PlanCheckRunStatusCount map[string]int32@@ -56,7 +55,6 @@ type UpdatePlanMessage struct {Name *stringDescription *stringSteps *[]*storepb.PlanConfig_Step- UpdaterID int}// CreatePlan creates a new plan.@@ -64,7 +62,6 @@ func (s *Store) CreatePlan(ctx context.Context, plan *PlanMessage, creatorUID inquery := `INSERT INTO plan (creator_id,- updater_id,project_id,pipeline_id,name,@@ -72,12 +69,11 @@ func (s *Store) CreatePlan(ctx context.Context, plan *PlanMessage, creatorUID inconfig) VALUES ($1,- $2,- (SELECT project.id FROM project WHERE project.resource_id = $3),+ (SELECT project.id FROM project WHERE project.resource_id = $2),+ $3,$4,$5,- $6,- $7+ $6) RETURNING id, created_ts`@@ -93,7 +89,6 @@ func (s *Store) CreatePlan(ctx context.Context, plan *PlanMessage, creatorUID invar id, createdTs int64if err := tx.QueryRowContext(ctx, query,- creatorUID,creatorUID,plan.ProjectID,plan.PipelineUID,@@ -111,7 +106,6 @@ func (s *Store) CreatePlan(ctx context.Context, plan *PlanMessage, creatorUID inplan.UID = idplan.CreatorUID = creatorUIDplan.CreatedTs = createdTs- plan.UpdaterUID = creatorUIDplan.UpdatedTs = createdTsreturn plan, nil}@@ -167,7 +161,6 @@ func (s *Store) ListPlans(ctx context.Context, find *FindPlanMessage) ([]*PlanMeplan.id,plan.creator_id,plan.created_ts,- plan.updater_id,plan.updated_ts,project.resource_id,plan.pipeline_id,@@ -227,7 +220,6 @@ func (s *Store) ListPlans(ctx context.Context, find *FindPlanMessage) ([]*PlanMe&plan.UID,&plan.CreatorUID,&plan.CreatedTs,- &plan.UpdaterUID,&plan.UpdatedTs,&plan.ProjectID,&plan.PipelineUID,@@ -259,7 +251,7 @@ func (s *Store) ListPlans(ctx context.Context, find *FindPlanMessage) ([]*PlanMe// UpdatePlan updates an existing plan.func (s *Store) UpdatePlan(ctx context.Context, patch *UpdatePlanMessage) error {- set, args := []string{"updater_id = $1", "updated_ts = $2"}, []any{patch.UpdaterID, time.Now().Unix()}+ set, args := []string{"updated_ts = $1"}, []any{time.Now().Unix()}if v := patch.Name; v != nil {set, args = append(set, fmt.Sprintf("name = $%d", len(args)+1)), append(args, *v)}diff --git a/backend/store/plan_check_run.go b/backend/store/plan_check_run.goindex d52e04e6ea..cea4a20747 100644--- a/backend/store/plan_check_run.go+++ b/backend/store/plan_check_run.go@@ -47,11 +47,9 @@ const (// PlanCheckRunMessage is the message for a plan check run.type PlanCheckRunMessage struct {- UID int- CreatorUID int- CreatedTs int64- UpdaterUID int- UpdatedTs int64+ UID int+ CreatedTs int64+ UpdatedTs int64PlanUID int64@@ -79,8 +77,6 @@ func (s *Store) CreatePlanCheckRuns(ctx context.Context, creates ...*PlanCheckRuvar query strings.Buildervar values []anyif _, err := query.WriteString(`INSERT INTO plan_check_run (- creator_id,- updater_id,plan_id,status,type,@@ -100,8 +96,6 @@ func (s *Store) CreatePlanCheckRuns(ctx context.Context, creates ...*PlanCheckRureturn errors.Wrapf(err, "failed to marshal create result %v", create.Result)}values = append(values,- create.CreatorUID,- create.UpdaterUID,create.PlanUID,create.Status,create.Type,@@ -113,7 +107,7 @@ func (s *Store) CreatePlanCheckRuns(ctx context.Context, creates ...*PlanCheckRureturn err}}- count := 7+ count := 5if _, err := query.WriteString(getPlaceholders(i*count+1, count)); err != nil {return err}@@ -153,9 +147,7 @@ func (s *Store) ListPlanCheckRuns(ctx context.Context, find *FindPlanCheckRunMesSELECT%splan_check_run.id,- plan_check_run.creator_id,plan_check_run.created_ts,- plan_check_run.updater_id,plan_check_run.updated_ts,plan_check_run.plan_id,plan_check_run.status,@@ -180,9 +172,7 @@ WHERE %svar config, result stringif err := rows.Scan(&planCheckRun.UID,- &planCheckRun.CreatorUID,&planCheckRun.CreatedTs,- &planCheckRun.UpdaterUID,&planCheckRun.UpdatedTs,&planCheckRun.PlanUID,&planCheckRun.Status,@@ -209,7 +199,7 @@ WHERE %s}// UpdatePlanCheckRun updates a plan check run.-func (s *Store) UpdatePlanCheckRun(ctx context.Context, updaterUID int, status PlanCheckRunStatus, result *storepb.PlanCheckRunResult, uid int) error {+func (s *Store) UpdatePlanCheckRun(ctx context.Context, status PlanCheckRunStatus, result *storepb.PlanCheckRunResult, uid int) error {resultBytes, err := protojson.Marshal(result)if err != nil {return errors.Wrapf(err, "failed to marshal result %v", result)@@ -217,27 +207,25 @@ func (s *Store) UpdatePlanCheckRun(ctx context.Context, updaterUID int, status Pquery := `UPDATE plan_check_runSET- updater_id = $1,- updated_ts = $2,- status = $3,- result = $4- WHERE id = $5`- if _, err := s.db.db.ExecContext(ctx, query, updaterUID, time.Now().Unix(), status, resultBytes, uid); err != nil {+ updated_ts = $1,+ status = $2,+ result = $3+ WHERE id = $4`+ if _, err := s.db.db.ExecContext(ctx, query, time.Now().Unix(), status, resultBytes, uid); err != nil {return errors.Wrapf(err, "failed to update plan check run")}return nil}// BatchCancelPlanCheckRuns updates the status of planCheckRuns to CANCELED.-func (s *Store) BatchCancelPlanCheckRuns(ctx context.Context, planCheckRunUIDs []int, updaterID int) error {+func (s *Store) BatchCancelPlanCheckRuns(ctx context.Context, planCheckRunUIDs []int) error {query := `UPDATE plan_check_runSETstatus = $1,- updater_id = $2,- updated_ts = $3- WHERE id = ANY($4)`- if _, err := s.db.db.ExecContext(ctx, query, PlanCheckRunStatusCanceled, updaterID, time.Now().Unix(), planCheckRunUIDs); err != nil {+ updated_ts = $2+ WHERE id = ANY($3)`+ if _, err := s.db.db.ExecContext(ctx, query, PlanCheckRunStatusCanceled, time.Now().Unix(), planCheckRunUIDs); err != nil {return err}return nildiff --git a/backend/store/principal.go b/backend/store/principal.goindex 9df7cbd725..d814976d11 100644--- a/backend/store/principal.go+++ b/backend/store/principal.go@@ -238,7 +238,7 @@ func listUserImpl(ctx context.Context, tx *Tx, find *FindUserMessage) ([]*UserMe}// CreateUser creates an user.-func (s *Store) CreateUser(ctx context.Context, create *UserMessage, creatorID int) (*UserMessage, error) {+func (s *Store) CreateUser(ctx context.Context, create *UserMessage) (*UserMessage, error) {// Double check the passing-in emails.// We use lower-case for emails.if create.Email != strings.ToLower(create.Email) {@@ -259,8 +259,8 @@ func (s *Store) CreateUser(ctx context.Context, create *UserMessage, creatorID ireturn nil, err}- set := []string{"creator_id", "updater_id", "email", "name", "type", "password_hash", "phone", "profile"}- args := []any{creatorID, creatorID, create.Email, create.Name, create.Type, create.PasswordHash, create.Phone, profileBytes}+ set := []string{"email", "name", "type", "password_hash", "phone", "profile"}+ args := []any{create.Email, create.Name, create.Type, create.PasswordHash, create.Phone, profileBytes}placeholder := []string{}for index := range set {placeholder = append(placeholder, fmt.Sprintf("$%d", index+1))@@ -301,12 +301,12 @@ func (s *Store) CreateUser(ctx context.Context, create *UserMessage, creatorID i}// UpdateUser updates a user.-func (s *Store) UpdateUser(ctx context.Context, currentUser *UserMessage, patch *UpdateUserMessage, updaterID int) (*UserMessage, error) {+func (s *Store) UpdateUser(ctx context.Context, currentUser *UserMessage, patch *UpdateUserMessage) (*UserMessage, error) {if currentUser.ID == api.SystemBotID {return nil, errors.Errorf("cannot update system bot")}- principalSet, principalArgs := []string{"updater_id = $1", "updated_ts = $2"}, []any{updaterID, time.Now().Unix()}+ principalSet, principalArgs := []string{}, []any{}if v := patch.Delete; v != nil {rowStatus := api.Normalif *patch.Delete {diff --git a/backend/store/revision.go b/backend/store/revision.goindex 785cc2c1c8..079bafff12 100644--- a/backend/store/revision.go+++ b/backend/store/revision.go@@ -21,7 +21,6 @@ type RevisionMessage struct {// output onlyUID int64- CreatorUID intCreateTime time.TimeDeleterUID *intDeleteTime *time.Time@@ -70,7 +69,6 @@ func (s *Store) ListRevisions(ctx context.Context, find *FindRevisionMessage) ([SELECTid,database_id,- creator_id,created_ts,deleter_id,deleted_ts,@@ -103,7 +101,6 @@ func (s *Store) ListRevisions(ctx context.Context, find *FindRevisionMessage) ([if err := rows.Scan(&r.UID,&r.DatabaseUID,- &r.CreatorUID,&r.CreateTime,&r.DeleterUID,&r.DeleteTime,@@ -145,18 +142,16 @@ func (s *Store) GetRevision(ctx context.Context, uid int64) (*RevisionMessage, ereturn revisions[0], nil}-func (s *Store) CreateRevision(ctx context.Context, revision *RevisionMessage, creatorUID int) (*RevisionMessage, error) {+func (s *Store) CreateRevision(ctx context.Context, revision *RevisionMessage) (*RevisionMessage, error) {query := `INSERT INTO revision (database_id,- creator_id,version,payload) VALUES ($1,$2,- $3,- $4+ $3)RETURNING id, created_ts`@@ -176,7 +171,6 @@ func (s *Store) CreateRevision(ctx context.Context, revision *RevisionMessage, cvar createTime time.Timeif err := tx.QueryRowContext(ctx, query,revision.DatabaseUID,- creatorUID,revision.Version,p,).Scan(&id, &createTime); err != nil {diff --git a/backend/store/sheet.go b/backend/store/sheet.goindex 0c14ce07d3..f2e693a76d 100644--- a/backend/store/sheet.go+++ b/backend/store/sheet.go@@ -21,7 +21,6 @@ type SheetMessage struct {ProjectUID intCreatorID int- UpdaterID intTitle stringStatement string@@ -34,11 +33,9 @@ type SheetMessage struct {UID intSize int64CreatedTime time.Time- UpdatedTime time.Time// Internal fieldscreatedTs int64- updatedTs int64}func (s *SheetMessage) GetSha256Hex() string {@@ -149,8 +146,6 @@ func (s *Store) listSheets(ctx context.Context, find *FindSheetMessage) ([]*Sheesheet.id,sheet.creator_id,sheet.created_ts,- sheet.updater_id,- sheet.updated_ts,sheet.project_id,sheet.name,%s,@@ -175,8 +170,6 @@ func (s *Store) listSheets(ctx context.Context, find *FindSheetMessage) ([]*Shee&sheet.UID,&sheet.CreatorID,&sheet.createdTs,- &sheet.UpdaterID,- &sheet.updatedTs,&sheet.ProjectUID,&sheet.Title,&sheet.Statement,@@ -203,7 +196,6 @@ func (s *Store) listSheets(ctx context.Context, find *FindSheetMessage) ([]*Sheefor _, sheet := range sheets {sheet.CreatedTime = time.Unix(sheet.createdTs, 0)- sheet.UpdatedTime = time.Unix(sheet.updatedTs, 0)}return sheets, nil@@ -231,14 +223,13 @@ func (s *Store) CreateSheet(ctx context.Context, create *SheetMessage) (*SheetMequery := `INSERT INTO sheet (creator_id,- updater_id,project_id,name,sha256,payload)- VALUES ($1, $2, $3, $4, $5, $6)- RETURNING id, created_ts, updated_ts+ VALUES ($1, $2, $3, $4, $5)+ RETURNING id, created_ts`tx, err := s.db.BeginTx(ctx, nil)@@ -246,9 +237,7 @@ func (s *Store) CreateSheet(ctx context.Context, create *SheetMessage) (*SheetMereturn nil, err}defer tx.Rollback()- create.UpdaterID = create.CreatorIDif err := tx.QueryRowContext(ctx, query,- create.CreatorID,create.CreatorID,create.ProjectUID,create.Title,@@ -257,7 +246,6 @@ func (s *Store) CreateSheet(ctx context.Context, create *SheetMessage) (*SheetMe).Scan(&create.UID,&create.createdTs,- &create.updatedTs,); err != nil {if err == sql.ErrNoRows {return nil, common.FormatDBErrorEmptyRowWithQuery(query)@@ -270,7 +258,6 @@ func (s *Store) CreateSheet(ctx context.Context, create *SheetMessage) (*SheetMecreate.Size = int64(len(create.Statement))create.CreatedTime = time.Unix(create.createdTs, 0)- create.UpdatedTime = time.Unix(create.updatedTs, 0)return create, nil}@@ -307,7 +294,6 @@ func (s *Store) BatchCreateSheet(ctx context.Context, projectUID int, creates []query := `INSERT INTO sheet (creator_id,- updater_id,project_id,name,sha256,@@ -315,11 +301,10 @@ func (s *Store) BatchCreateSheet(ctx context.Context, projectUID int, creates []) SELECT$1,$2,- $3,- unnest(CAST($4 AS TEXT[])),- unnest(CAST($5 AS BYTEA[])),- unnest(CAST($6 AS JSONB[]))- RETURNING id, created_ts, updated_ts+ unnest(CAST($3 AS TEXT[])),+ unnest(CAST($4 AS BYTEA[])),+ unnest(CAST($5 AS JSONB[]))+ RETURNING id, created_ts`tx, err := s.db.BeginTx(ctx, nil)@@ -328,27 +313,24 @@ func (s *Store) BatchCreateSheet(ctx context.Context, projectUID int, creates []}defer tx.Rollback()- rows, err := tx.QueryContext(ctx, query, creatorUID, creatorUID, projectUID, names, sha256s, payloads)+ rows, err := tx.QueryContext(ctx, query, creatorUID, projectUID, names, sha256s, payloads)if err != nil {return nil, errors.Wrapf(err, "failed to query")}defer rows.Close()for i := 0; rows.Next(); i++ {- creates[i].UpdaterID = creatorUIDcreates[i].CreatorID = creatorUIDif err := rows.Scan(&creates[i].UID,&creates[i].createdTs,- &creates[i].updatedTs,); err != nil {return nil, errors.Wrapf(err, "failed to scan")}creates[i].Size = int64(len(creates[i].Statement))creates[i].CreatedTime = time.Unix(creates[i].createdTs, 0)- creates[i].UpdatedTime = time.Unix(creates[i].updatedTs, 0)}if err := rows.Err(); err != nil {@@ -396,14 +378,10 @@ func (s *Store) PatchSheet(ctx context.Context, patch *PatchSheetMessage) (*Sheeif err := s.db.db.QueryRowContext(ctx, `UPDATE sheetSET- updater_id = $1,- updated_ts = $2,- sha256 = $3- WHERE id = $4+ sha256 = $1+ WHERE id = $2RETURNING id`,- patch.UpdaterID,- time.Now().Unix(),h[:],patch.UID,).Scan(diff --git a/backend/store/stage.go b/backend/store/stage.goindex 5bea70e003..05771cb211 100644--- a/backend/store/stage.go+++ b/backend/store/stage.go@@ -33,7 +33,7 @@ type TaskIndexDAG struct {ToIndex int}-func (*Store) createStages(ctx context.Context, tx *Tx, stagesCreate []*StageMessage, pipelineUID int, creatorID int) ([]*StageMessage, error) {+func (*Store) createStages(ctx context.Context, tx *Tx, stagesCreate []*StageMessage, pipelineUID int) ([]*StageMessage, error) {if len(stagesCreate) == 0 {return nil, nil}@@ -48,22 +48,18 @@ func (*Store) createStages(ctx context.Context, tx *Tx, stagesCreate []*StageMesquery := `INSERT INTO stage (- creator_id,- updater_id,pipeline_id,environment_id,name,deployment_id) SELECT$1,- $1,- $2,- unnest(CAST($3 AS INTEGER[])) AS environment_id,- unnest(CAST($4 AS TEXT[])),- unnest(CAST($5 AS TEXT[])) AS deployment_id+ unnest(CAST($2 AS INTEGER[])) AS environment_id,+ unnest(CAST($3 AS TEXT[])),+ unnest(CAST($4 AS TEXT[])) AS deployment_idRETURNING id`- rows, err := tx.QueryContext(ctx, query, creatorID, pipelineUID, environmentIDs, names, deploymentIDs)+ rows, err := tx.QueryContext(ctx, query, pipelineUID, environmentIDs, names, deploymentIDs)if err != nil {return nil, err}diff --git a/backend/store/task.go b/backend/store/task.goindex 3cf9b7a3d0..bde4ccc985 100644--- a/backend/store/task.go+++ b/backend/store/task.go@@ -8,7 +8,6 @@ import ("math""sort""strings"- "time""github.com/jackc/pgtype""github.com/pkg/errors"@@ -21,12 +20,6 @@ import (type TaskMessage struct {ID int- // Standard fields- CreatorID int- CreatedTs int64- UpdaterID int- UpdatedTs int64-// Related fieldsPipelineID intStageID int@@ -117,8 +110,6 @@ func (*Store) createTasks(ctx context.Context, tx *Tx, creates ...*TaskMessage)_, _ = query.WriteString(`INSERT INTO task (- creator_id,- updater_id,pipeline_id,stage_id,instance_id,@@ -136,8 +127,6 @@ func (*Store) createTasks(ctx context.Context, tx *Tx, creates ...*TaskMessage)create.Payload = "{}"}values = append(values,- create.CreatorID,- create.CreatorID,create.PipelineID,create.StageID,create.InstanceID,@@ -147,11 +136,11 @@ func (*Store) createTasks(ctx context.Context, tx *Tx, creates ...*TaskMessage)create.Payload,create.EarliestAllowedTs,)- const count = 10- queryValues = append(queryValues, fmt.Sprintf("($%d, $%d, $%d, $%d, $%d, $%d, $%d, 'PENDING_APPROVAL', $%d, $%d, $%d)", i*count+1, i*count+2, i*count+3, i*count+4, i*count+5, i*count+6, i*count+7, i*count+8, i*count+9, i*count+10))+ const count = 8+ queryValues = append(queryValues, fmt.Sprintf("($%d, $%d, $%d, $%d, $%d, 'PENDING_APPROVAL', $%d, $%d, $%d)", i*count+1, i*count+2, i*count+3, i*count+4, i*count+5, i*count+6, i*count+7, i*count+8))}_, _ = query.WriteString(strings.Join(queryValues, ","))- _, _ = query.WriteString(` RETURNING id, creator_id, created_ts, updater_id, updated_ts, pipeline_id, stage_id, instance_id, database_id, name, type, payload, earliest_allowed_ts`)+ _, _ = query.WriteString(` RETURNING id, pipeline_id, stage_id, instance_id, database_id, name, type, payload, earliest_allowed_ts`)var tasks []*TaskMessagerows, err := tx.QueryContext(ctx, query.String(), values...)@@ -164,10 +153,6 @@ func (*Store) createTasks(ctx context.Context, tx *Tx, creates ...*TaskMessage)var databaseID sql.NullInt32if err := rows.Scan(&task.ID,- &task.CreatorID,- &task.CreatedTs,- &task.UpdaterID,- &task.UpdatedTs,&task.PipelineID,&task.StageID,&task.InstanceID,@@ -261,10 +246,6 @@ func (s *Store) ListTasks(ctx context.Context, find *api.TaskFind) ([]*TaskMessarows, err := tx.QueryContext(ctx, fmt.Sprintf(`SELECTtask.id,- task.creator_id,- task.created_ts,- task.updater_id,- task.updated_ts,task.pipeline_id,task.stage_id,task.instance_id,@@ -302,10 +283,6 @@ func (s *Store) ListTasks(ctx context.Context, find *api.TaskFind) ([]*TaskMessavar dependsOn pgtype.Int4Arrayif err := rows.Scan(&task.ID,- &task.CreatorID,- &task.CreatedTs,- &task.UpdaterID,- &task.UpdatedTs,&task.PipelineID,&task.StageID,&task.InstanceID,@@ -336,7 +313,7 @@ func (s *Store) ListTasks(ctx context.Context, find *api.TaskFind) ([]*TaskMessa// UpdateTaskV2 updates an existing task.// Returns ENOTFOUND if task does not exist.func (s *Store) UpdateTaskV2(ctx context.Context, patch *api.TaskPatch) (*TaskMessage, error) {- set, args := []string{"updater_id = $1", "updated_ts = $2"}, []any{patch.UpdaterID, time.Now().Unix()}+ set, args := []string{}, []any{}if v := patch.DatabaseID; v != nil {set, args = append(set, fmt.Sprintf("database_id = $%d", len(args)+1)), append(args, *v)}@@ -397,15 +374,11 @@ func (s *Store) UpdateTaskV2(ctx context.Context, patch *api.TaskPatch) (*TaskMeUPDATE taskSET `+strings.Join(set, ", ")+`WHERE id = $%d- RETURNING id, creator_id, created_ts, updater_id, updated_ts, pipeline_id, stage_id, instance_id, database_id, name, type, payload, earliest_allowed_ts+ RETURNING id, pipeline_id, stage_id, instance_id, database_id, name, type, payload, earliest_allowed_ts`, len(args)),args...,).Scan(&task.ID,- &task.CreatorID,- &task.CreatedTs,- &task.UpdaterID,- &task.UpdatedTs,&task.PipelineID,&task.StageID,&task.InstanceID,@@ -429,12 +402,12 @@ func (s *Store) UpdateTaskV2(ctx context.Context, patch *api.TaskPatch) (*TaskMe}// BatchSkipTasks batch skip tasks.-func (s *Store) BatchSkipTasks(ctx context.Context, taskUIDs []int, comment string, updaterUID int) error {+func (s *Store) BatchSkipTasks(ctx context.Context, taskUIDs []int, comment string) error {query := `UPDATE task- SET updater_id = $1, payload = payload || jsonb_build_object('skipped', $2::BOOLEAN) || jsonb_build_object('skippedReason', $3::TEXT)- WHERE id = ANY($4)`- args := []any{updaterUID, true, comment, taskUIDs}+ SET payload = payload || jsonb_build_object('skipped', $1::BOOLEAN) || jsonb_build_object('skippedReason', $2::TEXT)+ WHERE id = ANY($3)`+ args := []any{true, comment, taskUIDs}if _, err := s.db.db.ExecContext(ctx, query, args...); err != nil {return errors.Wrapf(err, "failed to batch skip tasks")diff --git a/backend/store/task_run.go b/backend/store/task_run.goindex 565ad2c884..136aa72800 100644--- a/backend/store/task_run.go+++ b/backend/store/task_run.go@@ -32,8 +32,6 @@ type TaskRunMessage struct {CreatorID intCreator *UserMessageCreatedTs int64- UpdaterID int- Updater *UserMessageUpdatedTs int64ProjectID stringStartedTs int64@@ -105,7 +103,6 @@ func (s *Store) ListTaskRunsV2(ctx context.Context, find *FindTaskRunMessage) ([task_run.id,task_run.creator_id,task_run.created_ts,- task_run.updater_id,task_run.updated_ts,task_run.task_id,task_run.name,@@ -137,7 +134,6 @@ func (s *Store) ListTaskRunsV2(ctx context.Context, find *FindTaskRunMessage) ([&taskRun.ID,&taskRun.CreatorID,&taskRun.CreatedTs,- &taskRun.UpdaterID,&taskRun.UpdatedTs,&taskRun.TaskUID,&taskRun.Name,@@ -171,11 +167,6 @@ func (s *Store) ListTaskRunsV2(ctx context.Context, find *FindTaskRunMessage) ([return nil, err}taskRun.Creator = creator- updater, err := s.GetUserByID(ctx, taskRun.UpdaterID)- if err != nil {- return nil, err- }- taskRun.Updater = updater}return taskRuns, nil@@ -327,16 +318,14 @@ func (*Store) createTaskRunImpl(ctx context.Context, tx *Tx, create *TaskRunMessquery := `INSERT INTO task_run (creator_id,- updater_id,task_id,sheet_id,attempt,name,status- ) VALUES ($1, $2, $3, $4, $5, $6, $7)+ ) VALUES ($1, $2, $3, $4, $5, $6)`if _, err := tx.ExecContext(ctx, query,- creatorID,creatorID,create.TaskUID,create.SheetUID,@@ -351,7 +340,7 @@ func (*Store) createTaskRunImpl(ctx context.Context, tx *Tx, create *TaskRunMess// patchTaskRunStatusImpl updates a taskRun status. Returns the new state of the taskRun after update.func (*Store) patchTaskRunStatusImpl(ctx context.Context, tx *Tx, patch *TaskRunStatusPatch) (*TaskRunMessage, error) {- set, args := []string{"updater_id = $1", "updated_ts = $2", "status = $3"}, []any{patch.UpdaterID, time.Now().Unix(), patch.Status}+ set, args := []string{"updated_ts = $1", "status = $2"}, []any{time.Now().Unix(), patch.Status}if v := patch.Code; v != nil {set, args = append(set, fmt.Sprintf("code = $%d", len(args)+1)), append(args, *v)}@@ -375,14 +364,13 @@ func (*Store) patchTaskRunStatusImpl(ctx context.Context, tx *Tx, patch *TaskRunUPDATE task_runSET `+strings.Join(set, ", ")+`WHERE `+strings.Join(where, " AND ")+`- RETURNING id, creator_id, created_ts, updater_id, updated_ts, task_id, name, status, code, result+ RETURNING id, creator_id, created_ts, updated_ts, task_id, name, status, code, result`,args...,).Scan(&taskRun.ID,&taskRun.CreatorID,&taskRun.CreatedTs,- &taskRun.UpdaterID,&taskRun.UpdatedTs,&taskRun.TaskUID,&taskRun.Name,@@ -444,7 +432,6 @@ func (*Store) findTaskRunImpl(ctx context.Context, tx *Tx, find *TaskRunFind) ([task_run.id,task_run.creator_id,task_run.created_ts,- task_run.updater_id,task_run.updated_ts,task_run.task_id,task_run.name,@@ -471,7 +458,6 @@ func (*Store) findTaskRunImpl(ctx context.Context, tx *Tx, find *TaskRunFind) ([&taskRun.ID,&taskRun.CreatorID,&taskRun.CreatedTs,- &taskRun.UpdaterID,&taskRun.UpdatedTs,&taskRun.TaskUID,&taskRun.Name,@@ -494,12 +480,12 @@ func (*Store) findTaskRunImpl(ctx context.Context, tx *Tx, find *TaskRunFind) ([}// BatchCancelTaskRuns updates the status of taskRuns to CANCELED.-func (s *Store) BatchCancelTaskRuns(ctx context.Context, taskRunIDs []int, updaterID int) error {+func (s *Store) BatchCancelTaskRuns(ctx context.Context, taskRunIDs []int) error {query := `UPDATE task_run- SET status = $1, updater_id = $2- WHERE id = ANY($3)`- if _, err := s.db.db.ExecContext(ctx, query, api.TaskRunCanceled, updaterID, taskRunIDs); err != nil {+ SET status = $1+ WHERE id = ANY($2)`+ if _, err := s.db.db.ExecContext(ctx, query, api.TaskRunCanceled, taskRunIDs); err != nil {return err}return nildiff --git a/backend/store/worksheet.go b/backend/store/worksheet.goindex 9f87b14137..5958931cb3 100644--- a/backend/store/worksheet.go+++ b/backend/store/worksheet.go@@ -35,7 +35,6 @@ type WorkSheetMessage struct {DatabaseUID *intCreatorID int- UpdaterID intTitle stringStatement string@@ -79,7 +78,6 @@ type FindWorkSheetMessage struct {// PatchWorkSheetMessage is the message to patch a sheet.type PatchWorkSheetMessage struct {UID int- UpdaterID intTitle *stringStatement *stringVisibility *string@@ -149,7 +147,6 @@ func (s *Store) ListWorkSheets(ctx context.Context, find *FindWorkSheetMessage,worksheet.id,worksheet.creator_id,worksheet.created_ts,- worksheet.updater_id,worksheet.updated_ts,worksheet.project_id,worksheet.database_id,@@ -175,7 +172,6 @@ func (s *Store) ListWorkSheets(ctx context.Context, find *FindWorkSheetMessage,&sheet.UID,&sheet.CreatorID,&sheet.createdTs,- &sheet.UpdaterID,&sheet.updatedTs,&sheet.ProjectUID,&sheet.DatabaseUID,@@ -215,7 +211,6 @@ func (s *Store) CreateWorkSheet(ctx context.Context, create *WorkSheetMessage) (query := `INSERT INTO worksheet (creator_id,- updater_id,project_id,database_id,name,@@ -223,7 +218,7 @@ func (s *Store) CreateWorkSheet(ctx context.Context, create *WorkSheetMessage) (visibility,payload)- VALUES ($1, $2, $3, $4, $5, $6, $7, $8)+ VALUES ($1, $2, $3, $4, $5, $6, $7)RETURNING id, created_ts, updated_ts, OCTET_LENGTH(statement)`@@ -232,9 +227,7 @@ func (s *Store) CreateWorkSheet(ctx context.Context, create *WorkSheetMessage) (return nil, err}defer tx.Rollback()- create.UpdaterID = create.CreatorIDif err := tx.QueryRowContext(ctx, query,- create.CreatorID,create.CreatorID,create.ProjectUID,create.DatabaseUID,@@ -300,7 +293,7 @@ func (s *Store) DeleteWorkSheet(ctx context.Context, sheetUID int) error {// patchWorkSheetImpl updates a sheet's name/statement/visibility/database_id/project_id.func patchWorkSheetImpl(ctx context.Context, tx *Tx, patch *PatchWorkSheetMessage) error {- set, args := []string{"updater_id = $1", "updated_ts = $2"}, []any{patch.UpdaterID, time.Now().Unix()}+ set, args := []string{"updated_ts = $1"}, []any{time.Now().Unix()}if v := patch.Title; v != nil {set, args = append(set, fmt.Sprintf("name = $%d", len(args)+1)), append(args, *v)}diff --git a/frontend/src/components/Changelog/ChangelogDataTable.vue b/frontend/src/components/Changelog/ChangelogDataTable.vueindex 5a3d8a7842..db21add67f 100644--- a/frontend/src/components/Changelog/ChangelogDataTable.vue+++ b/frontend/src/components/Changelog/ChangelogDataTable.vue@@ -19,8 +19,6 @@ import { computed } from "vue";import { useI18n } from "vue-i18n";import { useRouter } from "vue-router";import { RouterLink } from "vue-router";-import { BBAvatar } from "@/bbkit";-import { useUserStore } from "@/store";import { getDateForPbTimestamp } from "@/types";import type { Changelog } from "@/types/proto/v1/database_service";import {@@ -30,7 +28,6 @@ import {import {extractIssueUID,getAffectedTableDisplayName,- extractUserResourceName,} from "@/utils";import {changelogLink,@@ -179,25 +176,6 @@ const columnList = computed(() => {);},},- {- key: "creator",- title: t("common.creator"),- width: 128,- resizable: true,- ellipsis: true,- render: (changelog) => {- const creator = useUserStore().getUserByEmail(- extractUserResourceName(changelog.creator)- );- if (!creator) return null;- return (- <div class="flex flex-row items-center overflow-hidden gap-x-1">- <BBAvatar size="SMALL" username={creator.title} />- <span class="truncate">{creator.title}</span>- </div>- );- },- },];return columns.filter((col) => !col.hide);});diff --git a/frontend/src/components/Changelog/ChangelogDetail.vue b/frontend/src/components/Changelog/ChangelogDetail.vueindex ba2b4a5a68..3b6627738b 100644--- a/frontend/src/components/Changelog/ChangelogDetail.vue+++ b/frontend/src/components/Changelog/ChangelogDetail.vue@@ -43,13 +43,6 @@#{{ extractIssueUID(changelog.issue) }}</router-link></dd>- <dt class="sr-only">{{ $t("common.creator") }}</dt>- <dd v-if="creator" class="flex items-center text-sm md:mr-4">- <span class="textlabel"- >{{ $t("common.creator") }} - </span- >- {{ creator.title }}- </dd></dl></div></div>@@ -156,7 +149,6 @@ import {pushNotification,useChangelogStore,useDBSchemaV1Store,- useUserStore,useDatabaseV1ByName,} from "@/store";import { getDateForPbTimestamp } from "@/types";@@ -168,7 +160,6 @@ import {} from "@/types/proto/v1/database_service";import {extractIssueUID,- extractUserResourceName,toClipboard,getStatementSize,hasProjectPermissionV2,@@ -213,15 +204,6 @@ const changelog = computed((): Changelog | undefined => {return changelogStore.getChangelogByName(changelogName.value);});-const creator = computed(() => {- if (!changelog.value) {- return undefined;- }- return useUserStore().getUserByEmail(- extractUserResourceName(changelog.value.creator)- );-});-const changelogSchema = computed(() => {if (!changelog.value) {return "";diff --git a/frontend/src/components/Revision/RevisionDataTable.vue b/frontend/src/components/Revision/RevisionDataTable.vueindex 15e942e7ce..eb2d43d601 100644--- a/frontend/src/components/Revision/RevisionDataTable.vue+++ b/frontend/src/components/Revision/RevisionDataTable.vue@@ -32,11 +32,10 @@ import { type DataTableColumn, NDataTable, NButton, useDialog } from "naive-ui";import { computed, reactive } from "vue";import { useI18n } from "vue-i18n";import { RouterLink, useRouter } from "vue-router";-import { BBAvatar } from "@/bbkit";-import { useRevisionStore, useUserStore } from "@/store";+import { useRevisionStore } from "@/store";import { getDateForPbTimestamp } from "@/types";import type { Revision } from "@/types/proto/v1/database_service";-import { extractIssueUID, extractUserResourceName } from "@/utils";+import { extractIssueUID } from "@/utils";import { useDatabaseDetailContext } from "../Database/context";import HumanizeDate from "../misc/HumanizeDate.vue";@@ -132,23 +131,6 @@ const columnList = computed(() => {<HumanizeDate date={getDateForPbTimestamp(revision.createTime)} />),},- {- key: "creator",- title: t("common.creator"),- width: 128,- resizable: true,- ellipsis: true,- render: (revision) => {- const creator = creatorOfRevision(revision);- if (!creator) return null;- return (- <div class="flex flex-row items-center overflow-hidden gap-x-1">- <BBAvatar size="SMALL" username={creator.title} />- <span class="truncate">{creator.title}</span>- </div>- );- },- },];return columns.filter((col) => !col.hide);});@@ -171,11 +153,6 @@ const rowProps = (revision: Revision) => {};};-const creatorOfRevision = (revision: Revision) => {- const email = extractUserResourceName(revision.creator);- return useUserStore().getUserByEmail(email);-};-const onDelete = () => {dialog.warning({title: t("database.revision.delete-confirm-dialog.title"),diff --git a/frontend/src/components/Revision/RevisionDetailPanel.vue b/frontend/src/components/Revision/RevisionDetailPanel.vueindex 408ac0a246..aaddcf9d04 100644--- a/frontend/src/components/Revision/RevisionDetailPanel.vue+++ b/frontend/src/components/Revision/RevisionDetailPanel.vue@@ -9,13 +9,6 @@<divclass="mt-3 text-control text-base space-x-4 flex flex-row items-center flex-wrap">- <div- v-if="creator"- class="flex flex-row items-center overflow-hidden gap-x-1"- >- <BBAvatar size="SMALL" :username="creator.title" />- <span class="truncate">{{ creator.title }}</span>- </div><span>{{ $t("database.revision.applied-at") }}:<HumanizeDate :date="getDateForPbTimestamp(revision.createTime)" />@@ -61,12 +54,10 @@import { ClipboardIcon } from "lucide-vue-next";import { NDivider } from "naive-ui";import { computed, reactive, ref, watch } from "vue";-import BBAvatar from "@/bbkit/BBAvatar.vue";import { MonacoEditor } from "@/components/MonacoEditor";import { rolloutServiceClient } from "@/grpcweb";import {pushNotification,- useUserStore,useRevisionStore,useSheetV1Store,} from "@/store";@@ -74,7 +65,6 @@ import { getDateForPbTimestamp, type ComposedDatabase } from "@/types";import type { TaskRun } from "@/types/proto/v1/rollout_service";import {extractIssueUID,- extractUserResourceName,getSheetStatement,toClipboard,} from "@/utils";@@ -142,14 +132,6 @@ const relatedIssueUID = computed(() => {return uid;});-const creator = computed(() => {- if (!revision.value) {- return undefined;- }- const email = extractUserResourceName(revision.value.creator);- return useUserStore().getUserByEmail(email);-});-const copyStatement = async () => {toClipboard(statement.value).then(() => {pushNotification({diff --git a/frontend/src/types/proto/v1/database_service.ts b/frontend/src/types/proto/v1/database_service.tsindex 1b2f13a197..ca96e77cca 100644--- a/frontend/src/types/proto/v1/database_service.ts+++ b/frontend/src/types/proto/v1/database_service.ts@@ -1502,8 +1502,6 @@ export interface Revision {* Can be empty.*/release: string;- /** Format: users/[email protected] */- creator: string;createTime:| Timestamp| undefined;@@ -1627,8 +1625,6 @@ export interface GetChangelogRequest {export interface Changelog {/** Format: instances/{instance}/databases/{database}/changelogs/{changelog} */name: string;- /** Format: users/[email protected] */- creator: string;createTime: Timestamp | undefined;status: Changelog_Status;/** The statement is used for preview purpose. */@@ -9599,7 +9595,6 @@ function createBaseRevision(): Revision {return {name: "",release: "",- creator: "",createTime: undefined,deleter: "",deleteTime: undefined,@@ -9622,9 +9617,6 @@ export const Revision: MessageFns<Revision> = {if (message.release !== "") {writer.uint32(18).string(message.release);}- if (message.creator !== "") {- writer.uint32(26).string(message.creator);- }if (message.createTime !== undefined) {Timestamp.encode(message.createTime, writer.uint32(34).fork()).join();}@@ -9684,14 +9676,6 @@ export const Revision: MessageFns<Revision> = {message.release = reader.string();continue;}- case 3: {- if (tag !== 26) {- break;- }-- message.creator = reader.string();- continue;- }case 4: {if (tag !== 34) {break;@@ -9793,7 +9777,6 @@ export const Revision: MessageFns<Revision> = {return {name: isSet(object.name) ? globalThis.String(object.name) : "",release: isSet(object.release) ? globalThis.String(object.release) : "",- creator: isSet(object.creator) ? globalThis.String(object.creator) : "",createTime: isSet(object.createTime) ? fromJsonTimestamp(object.createTime) : undefined,deleter: isSet(object.deleter) ? globalThis.String(object.deleter) : "",deleteTime: isSet(object.deleteTime) ? fromJsonTimestamp(object.deleteTime) : undefined,@@ -9816,9 +9799,6 @@ export const Revision: MessageFns<Revision> = {if (message.release !== "") {obj.release = message.release;}- if (message.creator !== "") {- obj.creator = message.creator;- }if (message.createTime !== undefined) {obj.createTime = fromTimestamp(message.createTime).toISOString();}@@ -9862,7 +9842,6 @@ export const Revision: MessageFns<Revision> = {const message = createBaseRevision();message.name = object.name ?? "";message.release = object.release ?? "";- message.creator = object.creator ?? "";message.createTime = (object.createTime !== undefined && object.createTime !== null)? Timestamp.fromPartial(object.createTime): undefined;@@ -10181,7 +10160,6 @@ export const GetChangelogRequest: MessageFns<GetChangelogRequest> = {function createBaseChangelog(): Changelog {return {name: "",- creator: "",createTime: undefined,status: Changelog_Status.STATUS_UNSPECIFIED,statement: "",@@ -10205,9 +10183,6 @@ export const Changelog: MessageFns<Changelog> = {if (message.name !== "") {writer.uint32(10).string(message.name);}- if (message.creator !== "") {- writer.uint32(18).string(message.creator);- }if (message.createTime !== undefined) {Timestamp.encode(message.createTime, writer.uint32(26).fork()).join();}@@ -10271,14 +10246,6 @@ export const Changelog: MessageFns<Changelog> = {message.name = reader.string();continue;}- case 2: {- if (tag !== 18) {- break;- }-- message.creator = reader.string();- continue;- }case 3: {if (tag !== 26) {break;@@ -10411,7 +10378,6 @@ export const Changelog: MessageFns<Changelog> = {fromJSON(object: any): Changelog {return {name: isSet(object.name) ? globalThis.String(object.name) : "",- creator: isSet(object.creator) ? globalThis.String(object.creator) : "",createTime: isSet(object.createTime) ? fromJsonTimestamp(object.createTime) : undefined,status: isSet(object.status) ? changelog_StatusFromJSON(object.status) : Changelog_Status.STATUS_UNSPECIFIED,statement: isSet(object.statement) ? globalThis.String(object.statement) : "",@@ -10435,9 +10401,6 @@ export const Changelog: MessageFns<Changelog> = {if (message.name !== "") {obj.name = message.name;}- if (message.creator !== "") {- obj.creator = message.creator;- }if (message.createTime !== undefined) {obj.createTime = fromTimestamp(message.createTime).toISOString();}@@ -10492,7 +10455,6 @@ export const Changelog: MessageFns<Changelog> = {fromPartial(object: DeepPartial<Changelog>): Changelog {const message = createBaseChangelog();message.name = object.name ?? "";- message.creator = object.creator ?? "";message.createTime = (object.createTime !== undefined && object.createTime !== null)? Timestamp.fromPartial(object.createTime): undefined;diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 84663a0e08..92fd053bbf 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -8947,9 +8947,6 @@ components:name:type: stringdescription: 'Format: instances/{instance}/databases/{database}/changelogs/{changelog}'- creator:- type: string- description: 'Format: users/[email protected]'createTime:type: stringformat: date-time@@ -12384,10 +12381,6 @@ components:description: |-Format: projects/{project}/releases/{release}Can be empty.- creator:- readOnly: true- type: string- description: 'Format: users/[email protected]'createTime:readOnly: truetype: stringdiff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 326c4aa006..b23200ac44 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -2042,7 +2042,6 @@ AdviseIndexResponse is the response of advising index.| Field | Type | Label | Description || ----- | ---- | ----- | ----------- || name | [string](#string) | | Format: instances/{instance}/databases/{database}/changelogs/{changelog} |-| creator | [string](#string) | | Format: users/[email protected] || create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | || status | [Changelog.Status](#bytebase-v1-Changelog-Status) | | || statement | [string](#string) | | The statement is used for preview purpose. |@@ -2823,7 +2822,6 @@ ProcedureMetadata is the metadata for procedures.| ----- | ---- | ----- | ----------- || name | [string](#string) | | Format: instances/{instance}/databases/{database}/revisions/{revision} || release | [string](#string) | | Format: projects/{project}/releases/{release} Can be empty. |-| creator | [string](#string) | | Format: users/[email protected] || create_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | || deleter | [string](#string) | | Format: users/[email protected] Can be empty. || delete_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | Can be empty. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex a87203a7f7..3f8bfc3cf4 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -6324,13 +6324,6 @@ A maximum of 1000 databases can be modified in a batch. </p></td><td><p>Format: instances/{instance}/databases/{database}/changelogs/{changelog} </p></td></tr>- <tr>- <td>creator</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>Format: users/[email protected] </p></td>- </tr>-<tr><td>create_time</td><td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>@@ -8394,13 +8387,6 @@ function takes. </p></td>Can be empty. </p></td></tr>- <tr>- <td>creator</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>Format: users/[email protected] </p></td>- </tr>-<tr><td>create_time</td><td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>diff --git a/proto/generated-go/v1/database_service.pb.go b/proto/generated-go/v1/database_service.pb.goindex 5c5748426f..b211ae8bc6 100644--- a/proto/generated-go/v1/database_service.pb.go+++ b/proto/generated-go/v1/database_service.pb.go@@ -5569,9 +5569,7 @@ type Revision struct {Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// Format: projects/{project}/releases/{release}// Can be empty.- Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`- // Format: users/[email protected]- Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`+ Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`// Format: users/[email protected]// Can be empty.@@ -5647,13 +5645,6 @@ func (x *Revision) GetRelease() string {return ""}-func (x *Revision) GetCreator() string {- if x != nil {- return x.Creator- }- return ""-}-func (x *Revision) GetCreateTime() *timestamppb.Timestamp {if x != nil {return x.CreateTime@@ -5974,9 +5965,7 @@ func (x *GetChangelogRequest) GetSdlFormat() bool {type Changelog struct {state protoimpl.MessageState `protogen:"open.v1"`// Format: instances/{instance}/databases/{database}/changelogs/{changelog}- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- // Format: users/[email protected]- Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`Status Changelog_Status `protobuf:"varint,4,opt,name=status,proto3,enum=bytebase.v1.Changelog_Status" json:"status,omitempty"`// The statement is used for preview purpose.@@ -6041,13 +6030,6 @@ func (x *Changelog) GetName() string {return ""}-func (x *Changelog) GetCreator() string {- if x != nil {- return x.Creator- }- return ""-}-func (x *Changelog) GetCreateTime() *timestamppb.Timestamp {if x != nil {return x.CreateTime@@ -7023,14 +7005,12 @@ var file_v1_database_service_proto_rawDesc = string([]byte{0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2, 0x41,0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x22, 0xab, 0x05, 0x0a, 0x08, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12,+ 0x6d, 0x65, 0x22, 0x8b, 0x05, 0x0a, 0x08, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12,0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x02,0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62,0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52,- 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61,- 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,- 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61,+ 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61,0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,@@ -7097,305 +7077,303 @@ var file_v1_database_service_proto_rawDesc = string([]byte{0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x56, 0x69, 0x65, 0x77, 0x52,0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x64, 0x6c, 0x5f, 0x66, 0x6f, 0x72,0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x64, 0x6c, 0x46, 0x6f,- 0x72, 0x6d, 0x61, 0x74, 0x22, 0x96, 0x07, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c,+ 0x72, 0x6d, 0x61, 0x74, 0x22, 0xfc, 0x06, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c,0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f,- 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72,- 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,- 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a,- 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e,+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,+ 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,+ 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20,+ 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x2e, 0x53, 0x74, 0x61, 0x74,+ 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74,+ 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73,+ 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74,+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,+ 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12,+ 0x27, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x68, 0x65,+ 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d,+ 0x65, 0x6e, 0x74, 0x53, 0x68, 0x65, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65,+ 0x6d, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,+ 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,+ 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a,+ 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,+ 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x76, 0x53, 0x63, 0x68, 0x65,+ 0x6d, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d,+ 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x70, 0x72,+ 0x65, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05,+ 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x73, 0x73,+ 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0d,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x12, 0x18, 0x0a,+ 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,+ 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73,+ 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73,+ 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x72,+ 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61,+ 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x10, 0x63,+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12,+ 0x2f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e,0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e,- 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74,- 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,- 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,- 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f,- 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74,- 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x74, 0x61,- 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x65,- 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x08, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63,- 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52,- 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70,- 0x72, 0x65, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x0a, 0x70, 0x72, 0x65, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x28, 0x0a, 0x10,- 0x70, 0x72, 0x65, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65,- 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18,- 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08,- 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,- 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,- 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,- 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a,- 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,- 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65,- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64,- 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x04, 0x74, 0x79, 0x70,- 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x2e,- 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x43, 0x0a, 0x06, 0x53, 0x74,- 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55,- 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,- 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e,- 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x22,- 0x65, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f,- 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a,- 0x08, 0x42, 0x41, 0x53, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d,- 0x49, 0x47, 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x47, 0x52,- 0x41, 0x54, 0x45, 0x5f, 0x53, 0x44, 0x4c, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x47,- 0x52, 0x41, 0x54, 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04,- 0x44, 0x41, 0x54, 0x41, 0x10, 0x06, 0x3a, 0x65, 0xea, 0x41, 0x62, 0x0a, 0x1e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x40, 0x69, 0x6e, 0x73,- 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,- 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67,- 0x73, 0x2f, 0x7b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x7d, 0x2a, 0x81, 0x01,- 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x56, 0x69, 0x65, 0x77, 0x12, 0x26, 0x0a, 0x22, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,+ 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,+ 0x22, 0x43, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54,+ 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,+ 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12,+ 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49,+ 0x4c, 0x45, 0x44, 0x10, 0x03, 0x22, 0x65, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,+ 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,+ 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x41, 0x53, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x10,+ 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0f,+ 0x0a, 0x0b, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x44, 0x4c, 0x10, 0x03, 0x12,+ 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54,+ 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x41, 0x10, 0x06, 0x3a, 0x65, 0xea, 0x41,+ 0x62, 0x0a, 0x1e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f,+ 0x67, 0x12, 0x40, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e,+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x63, 0x68, 0x61,+ 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c,+ 0x6f, 0x67, 0x7d, 0x2a, 0x81, 0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x56, 0x69, 0x65, 0x77, 0x12, 0x26, 0x0a, 0x22,+ 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54,+ 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,+ 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45,+ 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42,+ 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57,- 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x20,- 0x0a, 0x1c, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44,- 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01,- 0x12, 0x1f, 0x0a, 0x1b, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54,- 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10,- 0x02, 0x2a, 0x62, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x56, 0x69,- 0x65, 0x77, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f,- 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,- 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f,- 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13,- 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46,- 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0x84, 0x1c, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x0b, 0x47, 0x65,- 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x22, 0x49, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62,- 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea,- 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,- 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f,- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb5, 0x01, 0x0a,- 0x15, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,- 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x1a, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0xda,- 0x41, 0x00, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,- 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24,- 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e,- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x73, 0x12, 0xc4, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6c, 0xda,- 0x41, 0x00, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x4a, 0x5a, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,- 0x3d, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,- 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0xc0, 0x01, 0x0a, 0x0e,- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x22,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x73, 0xda, 0x41, 0x14, 0x64, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,- 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30,- 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x32, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f,- 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xc5,- 0x01, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x1a, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x58, 0x8a, 0xea,- 0x30, 0x13, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x22, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,+ 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x2a, 0x62, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x67,+ 0x65, 0x6c, 0x6f, 0x67, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x48, 0x41, 0x4e,+ 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,+ 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x48, 0x41, 0x4e,+ 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43,+ 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f,+ 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0x84, 0x1c, 0x0a, 0x0f,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,+ 0x90, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12,+ 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,+ 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x49, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,+ 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22,+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,+ 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f,+ 0x2a, 0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61,+ 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49,+ 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,+ 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x22, 0x45, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x69,+ 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d,- 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68,- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0xa0, 0x01, 0x0a, 0x0c, 0x53, 0x79, 0x6e, 0x63, 0x44,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x8a, 0xea,- 0x30, 0x11, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x73,- 0x79, 0x6e, 0x63, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a,- 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74,+ 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0xc4, 0x01, 0x0a, 0x0d, 0x4c,+ 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,+ 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,+ 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x22, 0x6c, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x64,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30,+ 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4a, 0x5a, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b,+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,+ 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x21,+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x73, 0x12, 0xc0, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22,+ 0x73, 0xda, 0x41, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2c, 0x75, 0x70, 0x64,+ 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x64,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90,+ 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x08, 0x64,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x32, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74,0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x79, 0x6e, 0x63, 0x12, 0xb0, 0x01, 0x0a, 0x13, 0x47, 0x65,- 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x51, 0x8a, 0xea, 0x30, 0x16, 0x62,- 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x53,- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12,- 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61,- 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,- 0x2f, 0x2a, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x7d, 0x12, 0xa8, 0x01, 0x0a,- 0x11, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x4f, 0x8a, 0xea, 0x30, 0x16, 0x62, 0x62, 0x2e, 0x64,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76,+ 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xc5, 0x01, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x28, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63,+ 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x22, 0x58, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98,+ 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x22, 0x2e, 0x2f, 0x76,+ 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,+ 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,+ 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0xa0, 0x01, 0x0a,+ 0x0c, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x20, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,+ 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79,+ 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x22, 0x4b, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,+ 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x79, 0x6e, 0x63, 0x12,+ 0xb0, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d,+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22,+ 0x51, 0x8a, 0xea, 0x30, 0x16, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x73, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x90, 0xea, 0x30, 0x01, 0x82,+ 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,+ 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,+ 0x61, 0x7d, 0x12, 0xa8, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,+ 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x4f, 0x8a, 0xea,+ 0x30, 0x16, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67,+ 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e,+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x7d, 0x12, 0xe1, 0x01,+ 0x0a, 0x0a, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1e, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53,+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53,+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01,+ 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,+ 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x73, 0x3a, 0x01,+ 0x2a, 0x5a, 0x3f, 0x3a, 0x01, 0x2a, 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,+ 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,+ 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65,+ 0x6d, 0x61, 0x22, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e,+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d,+ 0x61, 0x12, 0xad, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75,+ 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72,+ 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f,+ 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,+ 0x22, 0x4f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x13, 0x62,+ 0x62, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x6c, 0x69,+ 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76,+ 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65,+ 0x73, 0x12, 0xae, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,+ 0x73, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a,+ 0xea, 0x30, 0x17, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65,+ 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,+ 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65,+ 0x74, 0x73, 0x12, 0xaf, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63,+ 0x72, 0x65, 0x74, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x68, 0x8a, 0xea, 0x30, 0x19,+ 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65,+ 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30,+ 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x3a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x32,+ 0x33, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d,+ 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74,+ 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa3, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53,+ 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,+ 0x59, 0x8a, 0xea, 0x30, 0x19, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea,+ 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x2a, 0x2c, 0x2f, 0x76,0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f,- 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x7d, 0x12, 0xe1, 0x01, 0x0a, 0x0a, 0x44, 0x69, 0x66, 0x66,- 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52,- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62,- 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea,- 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x3f, 0x3a, 0x01, 0x2a,- 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74,- 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a,- 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x2d, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,- 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d,- 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0xad, 0x01, 0x0a, 0x0f,- 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12,- 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,- 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69,- 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4f, 0xda, 0x41, 0x06, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x73, 0x6c, 0x6f, 0x77,- 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,- 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,- 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xae, 0x01, 0x0a, 0x0b,- 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65,- 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53,- 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c,- 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x17, 0x62, 0x62, 0x2e,- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e,- 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c,+ 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb3, 0x01, 0x0a, 0x0b, 0x41,+ 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49,+ 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65,+ 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, 0xda,+ 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x18, 0x62, 0x62, 0x2e, 0x64,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x61, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49,+ 0x6e, 0x64, 0x65, 0x78, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x30,0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74,0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0xaf, 0x01, 0x0a,- 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x20, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,- 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,- 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,- 0x63, 0x72, 0x65, 0x74, 0x22, 0x68, 0x8a, 0xea, 0x30, 0x19, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x3d, 0x3a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x32, 0x33, 0x2f, 0x76, 0x31, 0x2f, 0x7b,- 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74,- 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa3,- 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12,- 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,- 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,- 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,- 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x59, 0x8a, 0xea, 0x30, 0x19, 0x62,- 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,- 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x2a, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,+ 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78,+ 0x12, 0xb0, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,+ 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x58, 0xda, 0x41, 0x06, 0x70, 0x61,+ 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73,+ 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,+ 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69,+ 0x6f, 0x6e, 0x73, 0x12, 0x9c, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73,+ 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x55, 0xda, 0x41, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73,+ 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e,+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f,+ 0x2a, 0x7d, 0x12, 0xa8, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76,+ 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69,+ 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,+ 0x22, 0x5b, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,+ 0x6e, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x3a, 0x3a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x2e, 0x2f,+ 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61,+ 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,+ 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xa6, 0x01,+ 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,+ 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,+ 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x58, 0xda, 0x41,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69,+ 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01,+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x2a, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74,- 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb3, 0x01, 0x0a, 0x0b, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49,- 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52,- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65,- 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x18, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x73, 0x2e, 0x61, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x90, 0xea,- 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f,- 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61,- 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0xb0, 0x01, 0x0a, 0x0d, 0x4c,- 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52,- 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,- 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,- 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,- 0x6e, 0x73, 0x65, 0x22, 0x58, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea,- 0x30, 0x11, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6c,- 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69,+ 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x43,+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e,+ 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,+ 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x22, 0x5a, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30,+ 0x12, 0x62, 0x62, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x6c,+ 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f,0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61,0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,- 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x9c, 0x01,- 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52,- 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76,- 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x55, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea,- 0x30, 0x10, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67,- 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,- 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f,- 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa8, 0x01, 0x0a,- 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12,- 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,- 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x5b, 0x8a, 0xea, 0x30, 0x13,- 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x72, 0x65,- 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x08, 0x72,- 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,- 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a,- 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65,- 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xa6, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65,- 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,- 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,- 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x58, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a,- 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,- 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30,- 0x2a, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74,- 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d,- 0x12, 0xb5, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c,- 0x6f, 0x67, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,- 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0xda, 0x41,- 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x63, 0x68,- 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30,- 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,- 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a,- 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x68,- 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0xa1, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74,- 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67,- 0x65, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,- 0x6c, 0x6f, 0x67, 0x22, 0x57, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x11,- 0x62, 0x62, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x67, 0x65,- 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x31,- 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,- 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63,- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x42, 0x11, 0x5a, 0x0f,- 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62,- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0xa1,+ 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12,+ 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,+ 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x22, 0x57, 0xda, 0x41, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c,+ 0x6f, 0x67, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,+ 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73,+ 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2f,+ 0x2a, 0x7d, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d,+ 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,})var (diff --git a/proto/v1/database_service.proto b/proto/v1/database_service.protoindex c150e0272a..3ee2cef0c9 100644--- a/proto/v1/database_service.proto+++ b/proto/v1/database_service.proto@@ -1403,9 +1403,6 @@ message Revision {// Can be empty.string release = 2 [(google.api.resource_reference) = {type: "bytebase.com/Release"}];- // Format: users/[email protected]- string creator = 3 [(google.api.field_behavior) = OUTPUT_ONLY];-google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];// Format: users/[email protected]@@ -1537,8 +1534,6 @@ message Changelog {// Format: instances/{instance}/databases/{database}/changelogs/{changelog}string name = 1;- // Format: users/[email protected]- string creator = 2;google.protobuf.Timestamp create_time = 3;enum Status {