Skip to content

Commit

Permalink
Update GetExecution SQL query to include database_id and database_pg_…
Browse files Browse the repository at this point in the history
…version
  • Loading branch information
eduardolat committed Aug 5, 2024
1 parent afd9673 commit ac4bbf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/service/executions/get_execution.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-- name: ExecutionsServiceGetExecution :one
SELECT
executions.*,
databases.id AS database_id,
databases.pg_version AS database_pg_version
FROM executions
INNER JOIN backups ON backups.id = executions.backup_id
Expand Down

0 comments on commit ac4bbf7

Please sign in to comment.