Refactor settings page

This commit is contained in:
gpt-engineer-app[bot]
2025-09-28 20:58:08 +00:00
parent e841fd2b7c
commit 98b06cdf6e
4 changed files with 16 additions and 2 deletions

View File

@@ -354,6 +354,7 @@ export type Database = {
created_at: string
date_of_birth: string | null
display_name: string | null
home_park_id: string | null
id: string
location_id: string | null
park_count: number | null
@@ -380,6 +381,7 @@ export type Database = {
created_at?: string
date_of_birth?: string | null
display_name?: string | null
home_park_id?: string | null
id?: string
location_id?: string | null
park_count?: number | null
@@ -406,6 +408,7 @@ export type Database = {
created_at?: string
date_of_birth?: string | null
display_name?: string | null
home_park_id?: string | null
id?: string
location_id?: string | null
park_count?: number | null
@@ -424,6 +427,13 @@ export type Database = {
username?: string
}
Relationships: [
{
foreignKeyName: "profiles_home_park_id_fkey"
columns: ["home_park_id"]
isOneToOne: false
referencedRelation: "parks"
referencedColumns: ["id"]
},
{
foreignKeyName: "profiles_location_id_fkey"
columns: ["location_id"]