Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: drift git commit (#16151)
Danny Xucc733a3e4e3d
diff --git a/backend/api/v1/database_service.go b/backend/api/v1/database_service.goindex cf7865ac13..a8475461b9 100644--- a/backend/api/v1/database_service.go+++ b/backend/api/v1/database_service.go@@ -482,7 +482,8 @@ func (s *DatabaseService) UpdateDatabase(ctx context.Context, request *v1pb.UpdaPrevSyncHistoryUID: &syncHistory,SyncHistoryUID: &syncHistory,Payload: &storepb.ChangelogPayload{- Type: storepb.ChangelogPayload_BASELINE,+ Type: storepb.ChangelogPayload_BASELINE,+ GitCommit: s.profile.GitCommit,}}); err != nil {return nil, errors.Wrapf(err, "failed to create changelog")}diff --git a/backend/runner/taskrun/executor.go b/backend/runner/taskrun/executor.goindex a32fd908ce..520c77fd3e 100644--- a/backend/runner/taskrun/executor.go+++ b/backend/runner/taskrun/executor.go@@ -464,6 +464,7 @@ func beginMigration(ctx context.Context, stores *store.Store, mc *migrateContextSheet: mc.sheetName,Version: mc.version,Type: convertTaskType(mc.task.Type),+ GitCommit: mc.profile.GitCommit,}})if err != nil {return false, errors.Wrapf(err, "failed to create changelog")