Fix migration failure

This commit is contained in:
gpt-engineer-app[bot]
2025-11-03 21:13:23 +00:00
parent 19b1451f32
commit a4e1be8056
2 changed files with 263 additions and 37 deletions

View File

@@ -97,7 +97,6 @@ export type Database = {
admin_user_id: string
auth0_event_type: string | null
created_at: string
details: Json | null
id: string
target_user_id: string
}
@@ -106,7 +105,6 @@ export type Database = {
admin_user_id: string
auth0_event_type?: string | null
created_at?: string
details?: Json | null
id?: string
target_user_id: string
}
@@ -115,7 +113,6 @@ export type Database = {
admin_user_id?: string
auth0_event_type?: string | null
created_at?: string
details?: Json | null
id?: string
target_user_id?: string
}
@@ -536,7 +533,6 @@ export type Database = {
}
conflict_resolutions: {
Row: {
conflict_details: Json | null
created_at: string
detected_at: string
id: string
@@ -545,7 +541,6 @@ export type Database = {
submission_id: string
}
Insert: {
conflict_details?: Json | null
created_at?: string
detected_at?: string
id?: string
@@ -554,7 +549,6 @@ export type Database = {
submission_id: string
}
Update: {
conflict_details?: Json | null
created_at?: string
detected_at?: string
id?: string
@@ -592,7 +586,6 @@ export type Database = {
in_reply_to: string | null
is_auto_reply: boolean | null
message_id: string
metadata: Json | null
reference_chain: string[] | null
sent_by: string | null
smtp_message_id: string | null
@@ -613,7 +606,6 @@ export type Database = {
in_reply_to?: string | null
is_auto_reply?: boolean | null
message_id: string
metadata?: Json | null
reference_chain?: string[] | null
sent_by?: string | null
smtp_message_id?: string | null
@@ -634,7 +626,6 @@ export type Database = {
in_reply_to?: string | null
is_auto_reply?: boolean | null
message_id?: string
metadata?: Json | null
reference_chain?: string[] | null
sent_by?: string | null
smtp_message_id?: string | null
@@ -701,7 +692,6 @@ export type Database = {
response_count: number | null
status: string
subject: string
submitter_profile_data: Json | null
submitter_profile_id: string | null
submitter_reputation: number | null
submitter_username: string | null
@@ -730,7 +720,6 @@ export type Database = {
response_count?: number | null
status?: string
subject: string
submitter_profile_data?: Json | null
submitter_profile_id?: string | null
submitter_reputation?: number | null
submitter_username?: string | null
@@ -759,7 +748,6 @@ export type Database = {
response_count?: number | null
status?: string
subject?: string
submitter_profile_data?: Json | null
submitter_profile_id?: string | null
submitter_reputation?: number | null
submitter_username?: string | null
@@ -791,7 +779,6 @@ export type Database = {
approval_mode: string | null
assigned_at: string | null
assigned_to: string | null
content: Json
created_at: string
escalated: boolean | null
escalated_at: string | null
@@ -819,7 +806,6 @@ export type Database = {
approval_mode?: string | null
assigned_at?: string | null
assigned_to?: string | null
content: Json
created_at?: string
escalated?: boolean | null
escalated_at?: string | null
@@ -847,7 +833,6 @@ export type Database = {
approval_mode?: string | null
assigned_at?: string | null
assigned_to?: string | null
content?: Json
created_at?: string
escalated?: boolean | null
escalated_at?: string | null
@@ -1489,21 +1474,18 @@ export type Database = {
}
item_edit_history: {
Row: {
changes: Json
edited_at: string
editor_id: string
id: string
item_id: string
}
Insert: {
changes: Json
edited_at?: string
editor_id: string
id?: string
item_id: string
}
Update: {
changes?: Json
edited_at?: string
editor_id?: string
id?: string
@@ -1605,7 +1587,6 @@ export type Database = {
created_at: string
id: string
is_test_data: boolean | null
metadata: Json | null
moderator_id: string
new_status: string | null
notes: string | null
@@ -1617,7 +1598,6 @@ export type Database = {
created_at?: string
id?: string
is_test_data?: boolean | null
metadata?: Json | null
moderator_id: string
new_status?: string | null
notes?: string | null
@@ -1629,7 +1609,6 @@ export type Database = {
created_at?: string
id?: string
is_test_data?: boolean | null
metadata?: Json | null
moderator_id?: string
new_status?: string | null
notes?: string | null
@@ -1787,7 +1766,6 @@ export type Database = {
idempotency_key: string | null
is_duplicate: boolean
novu_transaction_id: string | null
payload: Json | null
read_at: string | null
status: string
template_id: string | null
@@ -1802,7 +1780,6 @@ export type Database = {
idempotency_key?: string | null
is_duplicate?: boolean
novu_transaction_id?: string | null
payload?: Json | null
read_at?: string | null
status?: string
template_id?: string | null
@@ -1817,7 +1794,6 @@ export type Database = {
idempotency_key?: string | null
is_duplicate?: boolean
novu_transaction_id?: string | null
payload?: Json | null
read_at?: string | null
status?: string
template_id?: string | null
@@ -2513,7 +2489,6 @@ export type Database = {
Row: {
action: string
changed_by: string
changes: Json
created_at: string
id: string
ip_address_hash: string | null
@@ -2523,7 +2498,6 @@ export type Database = {
Insert: {
action: string
changed_by: string
changes: Json
created_at?: string
id?: string
ip_address_hash?: string | null
@@ -2533,7 +2507,6 @@ export type Database = {
Update: {
action?: string
changed_by?: string
changes?: Json
created_at?: string
id?: string
ip_address_hash?: string | null
@@ -2809,13 +2782,11 @@ 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
@@ -2837,13 +2808,11 @@ 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
@@ -2865,13 +2834,11 @@ 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
@@ -3003,7 +2970,6 @@ export type Database = {
moderated_by: string | null
moderation_status: string
park_id: string | null
photos: Json | null
rating: number
report_count: number
ride_id: string | null
@@ -3024,7 +2990,6 @@ export type Database = {
moderated_by?: string | null
moderation_status?: string
park_id?: string | null
photos?: Json | null
rating: number
report_count?: number
ride_id?: string | null
@@ -3045,7 +3010,6 @@ export type Database = {
moderated_by?: string | null
moderation_status?: string
park_id?: string | null
photos?: Json | null
rating?: number
report_count?: number
ride_id?: string | null
@@ -5294,7 +5258,6 @@ export type Database = {
assigned_at: string | null
assigned_profile: Json | null
assigned_to: string | null
content: Json | null
created_at: string | null
escalated: boolean | null
escalated_at: string | null