mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 11:31:12 -05:00
Approve database migration
This commit is contained in:
@@ -2316,12 +2316,15 @@ export type Database = {
|
||||
}
|
||||
request_metadata: {
|
||||
Row: {
|
||||
breadcrumbs: Json | null
|
||||
client_version: string | null
|
||||
completed_at: string | null
|
||||
created_at: string
|
||||
duration_ms: number | null
|
||||
endpoint: string
|
||||
environment_context: Json | null
|
||||
error_message: string | null
|
||||
error_stack: string | null
|
||||
error_type: string | null
|
||||
id: string
|
||||
ip_address_hash: string | null
|
||||
@@ -2336,12 +2339,15 @@ export type Database = {
|
||||
user_id: string | null
|
||||
}
|
||||
Insert: {
|
||||
breadcrumbs?: Json | null
|
||||
client_version?: string | null
|
||||
completed_at?: string | null
|
||||
created_at?: string
|
||||
duration_ms?: number | null
|
||||
endpoint: string
|
||||
environment_context?: Json | null
|
||||
error_message?: string | null
|
||||
error_stack?: string | null
|
||||
error_type?: string | null
|
||||
id?: string
|
||||
ip_address_hash?: string | null
|
||||
@@ -2356,12 +2362,15 @@ export type Database = {
|
||||
user_id?: string | null
|
||||
}
|
||||
Update: {
|
||||
breadcrumbs?: Json | null
|
||||
client_version?: string | null
|
||||
completed_at?: string | null
|
||||
created_at?: string
|
||||
duration_ms?: number | null
|
||||
endpoint?: string
|
||||
environment_context?: Json | null
|
||||
error_message?: string | null
|
||||
error_stack?: string | null
|
||||
error_type?: string | null
|
||||
id?: string
|
||||
ip_address_hash?: string | null
|
||||
@@ -4585,6 +4594,19 @@ export type Database = {
|
||||
}
|
||||
}
|
||||
Views: {
|
||||
error_summary: {
|
||||
Row: {
|
||||
affected_users: number | null
|
||||
avg_duration_ms: number | null
|
||||
endpoint: string | null
|
||||
error_type: string | null
|
||||
first_occurred: string | null
|
||||
last_occurred: string | null
|
||||
occurrence_count: number | null
|
||||
recent_request_ids: string[] | null
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
filtered_profiles: {
|
||||
Row: {
|
||||
avatar_image_id: string | null
|
||||
@@ -4898,23 +4920,44 @@ export type Database = {
|
||||
}
|
||||
Returns: string
|
||||
}
|
||||
log_request_metadata: {
|
||||
Args: {
|
||||
p_client_version?: string
|
||||
p_duration_ms?: number
|
||||
p_endpoint?: string
|
||||
p_error_message?: string
|
||||
p_error_type?: string
|
||||
p_method?: string
|
||||
p_parent_request_id?: string
|
||||
p_request_id: string
|
||||
p_status_code?: number
|
||||
p_trace_id?: string
|
||||
p_user_agent?: string
|
||||
p_user_id?: string
|
||||
}
|
||||
Returns: undefined
|
||||
}
|
||||
log_request_metadata:
|
||||
| {
|
||||
Args: {
|
||||
p_breadcrumbs?: Json
|
||||
p_client_version?: string
|
||||
p_duration_ms?: number
|
||||
p_endpoint?: string
|
||||
p_environment_context?: Json
|
||||
p_error_message?: string
|
||||
p_error_stack?: string
|
||||
p_error_type?: string
|
||||
p_method?: string
|
||||
p_parent_request_id?: string
|
||||
p_request_id: string
|
||||
p_status_code?: number
|
||||
p_trace_id?: string
|
||||
p_user_agent?: string
|
||||
p_user_id?: string
|
||||
}
|
||||
Returns: undefined
|
||||
}
|
||||
| {
|
||||
Args: {
|
||||
p_client_version?: string
|
||||
p_duration_ms?: number
|
||||
p_endpoint?: string
|
||||
p_error_message?: string
|
||||
p_error_type?: string
|
||||
p_method?: string
|
||||
p_parent_request_id?: string
|
||||
p_request_id: string
|
||||
p_status_code?: number
|
||||
p_trace_id?: string
|
||||
p_user_agent?: string
|
||||
p_user_id?: string
|
||||
}
|
||||
Returns: undefined
|
||||
}
|
||||
migrate_ride_technical_data: { Args: never; Returns: undefined }
|
||||
migrate_user_list_items: { Args: never; Returns: undefined }
|
||||
release_expired_locks: { Args: never; Returns: number }
|
||||
|
||||
Reference in New Issue
Block a user