Fix search_path in function

- Aligns database migration by adding a follow-up migration to set the search_path for the affected function to address a security linter warning and ensure proper execution scope.
This commit is contained in:
gpt-engineer-app[bot]
2025-11-12 02:03:32 +00:00
parent 888ef0224a
commit d435bda06a
2 changed files with 320 additions and 11 deletions

View File

@@ -6628,17 +6628,19 @@ export type Database = {
}
}
Functions: {
analyze_data_completeness: {
Args: {
p_entity_type?: string
p_limit?: number
p_max_score?: number
p_min_score?: number
p_missing_category?: string
p_offset?: number
}
Returns: Json
}
analyze_data_completeness:
| {
Args: {
p_entity_type?: string
p_limit?: number
p_max_score?: number
p_min_score?: number
p_missing_category?: string
p_offset?: number
}
Returns: Json
}
| { Args: never; Returns: Json }
anonymize_user_submissions: {
Args: { target_user_id: string }
Returns: undefined