Patch lints (#40783)

This commit is contained in:
Joshen Lim authored and GitHub committed 2025-11-26 00:16:45 +08:00
1 parent 3969553a35
commit 27200aa52a
1 file changed
+1 -2
+1 -2
View File
@@ -18,10 +18,9 @@ export type ResponseData =
paths['/platform/projects/{ref}/run-lints']['get']['responses']['200']['content']['application/json']
export const enrichLintsQuery = (query: string, exposedSchemas?: string) => {
const literalSchemas = exposedSchemas ? `'${exposedSchemas}'` : ''
return `
set pg_stat_statements.track = none;
set local pgrst.db_schemas = ${literalSchemas};
${!!exposedSchemas ? `set local pgrst.db_schemas = '${exposedSchemas}';` : ''}
-- source: dashboard
-- user: ${'self host'}
-- date: ${new Date().toISOString()}