diff --git a/src/ports/squids/queries.ts b/src/ports/squids/queries.ts index af7a0a5..5e06999 100644 --- a/src/ports/squids/queries.ts +++ b/src/ports/squids/queries.ts @@ -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 $$; `) - ) ) ) )