Skip to content

Commit

Permalink
fix: promote query
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo committed Nov 28, 2024
1 parent 3aac825 commit 8d2dede
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/ports/squids/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,9 @@ export const getPromoteQuery = (serviceName: string, schemaName: string, project
-- Update the schema in the squids table
UPDATE squids
SET schema = `
.append(escapeLiteral(schemaName))
.append(
SQL`
WHERE name = `.append(safeProjectName).append(SQL`;
SET schema = new_schema_name WHERE name = `.append(safeProjectName).append(SQL`;
END $$;
`)
)
)
)
)
Expand Down

0 comments on commit 8d2dede

Please sign in to comment.