Skip to content

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

chore: fix returning (#8466)

Danny Xu9be5f738640c
diff --git a/backend/store/changelist.go b/backend/store/changelist.go
index 6a44e1cdc0..de08bab4aa 100644
--- a/backend/store/changelist.go
+++ b/backend/store/changelist.go
@@ -158,7 +158,8 @@ func (s *Store) CreateChangelist(ctx context.Context, create *ChangelistMessage)
name,
payload
)
- VALUES ($1, $2, $3, $4, $5);
+ VALUES ($1, $2, $3, $4, $5)
+ RETURNING id, created_ts, updated_ts;
`
tx, err := s.db.BeginTx(ctx, nil)