mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-05-12 06:28:31 -05:00
Update GetExecution function signature and SQL query
This commit is contained in:
@@ -9,6 +9,6 @@ import (
|
||||
|
||||
func (s *Service) GetExecution(
|
||||
ctx context.Context, id uuid.UUID,
|
||||
) (dbgen.Execution, error) {
|
||||
) (dbgen.ExecutionsServiceGetExecutionRow, error) {
|
||||
return s.dbgen.ExecutionsServiceGetExecution(ctx, id)
|
||||
}
|
||||
|
||||
@@ -5,4 +5,4 @@ SELECT
|
||||
FROM executions
|
||||
INNER JOIN backups ON backups.id = executions.backup_id
|
||||
INNER JOIN databases ON databases.id = backups.database_id
|
||||
WHERE id = @id;
|
||||
WHERE executions.id = @id;
|
||||
|
||||
Reference in New Issue
Block a user