Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: resource id

d-bytebasecdc9f25b6f0f
diff --git a/backend/store/vcs.go b/backend/store/vcs.go
index fdca4bcf16..9efdf949be 100644
--- a/backend/store/vcs.go
+++ b/backend/store/vcs.go
@@ -173,7 +173,7 @@ func (s *Store) UpdateVCSProviderV2(ctx context.Context, principalUID int, vcsPr
UPDATE vcs
SET `+strings.Join(set, ", ")+`
WHERE id = $%d
- RETURNING id, resource_id name, type, instance_url, access_token
+ RETURNING id, resource_id, name, type, instance_url, access_token
`, len(args)),
args...,
).Scan(