Approve database migration

This commit is contained in:
gpt-engineer-app[bot]
2025-10-28 17:35:40 +00:00
parent bf09abff36
commit c42b34b327
6 changed files with 827 additions and 96 deletions

View File

@@ -441,6 +441,65 @@ export type Database = {
},
]
}
contact_email_threads: {
Row: {
body_html: string | null
body_text: string
created_at: string
direction: string
from_email: string
id: string
in_reply_to: string | null
message_id: string
metadata: Json | null
reference_chain: string[] | null
sent_by: string | null
subject: string
submission_id: string
to_email: string
}
Insert: {
body_html?: string | null
body_text: string
created_at?: string
direction: string
from_email: string
id?: string
in_reply_to?: string | null
message_id: string
metadata?: Json | null
reference_chain?: string[] | null
sent_by?: string | null
subject: string
submission_id: string
to_email: string
}
Update: {
body_html?: string | null
body_text?: string
created_at?: string
direction?: string
from_email?: string
id?: string
in_reply_to?: string | null
message_id?: string
metadata?: Json | null
reference_chain?: string[] | null
sent_by?: string | null
subject?: string
submission_id?: string
to_email?: string
}
Relationships: [
{
foreignKeyName: "contact_email_threads_submission_id_fkey"
columns: ["submission_id"]
isOneToOne: false
referencedRelation: "contact_submissions"
referencedColumns: ["id"]
},
]
}
contact_rate_limits: {
Row: {
email: string
@@ -471,12 +530,15 @@ export type Database = {
email: string
id: string
ip_address_hash: string | null
last_admin_response_at: string | null
message: string
name: string
resolved_at: string | null
resolved_by: string | null
response_count: number | null
status: string
subject: string
thread_id: string
updated_at: string
user_agent: string | null
user_id: string | null
@@ -489,12 +551,15 @@ export type Database = {
email: string
id?: string
ip_address_hash?: string | null
last_admin_response_at?: string | null
message: string
name: string
resolved_at?: string | null
resolved_by?: string | null
response_count?: number | null
status?: string
subject: string
thread_id: string
updated_at?: string
user_agent?: string | null
user_id?: string | null
@@ -507,12 +572,15 @@ export type Database = {
email?: string
id?: string
ip_address_hash?: string | null
last_admin_response_at?: string | null
message?: string
name?: string
resolved_at?: string | null
resolved_by?: string | null
response_count?: number | null
status?: string
subject?: string
thread_id?: string
updated_at?: string
user_agent?: string | null
user_id?: string | null