From c374d686fb672c761ec0d749739892056c89512a Mon Sep 17 00:00:00 2001 From: OllyNicholass Date: Wed, 19 Jun 2024 01:21:03 +0100 Subject: [PATCH] chore(#15): update db_schema types --- src/lib/db_schema.ts | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/src/lib/db_schema.ts b/src/lib/db_schema.ts index fa38496..01ff9a2 100644 --- a/src/lib/db_schema.ts +++ b/src/lib/db_schema.ts @@ -34,7 +34,41 @@ export type Database = { } public: { Tables: { - [_ in never]: never + profiles: { + Row: { + created_at: string | null + email: string | null + full_name: string | null + id: string + updated_at: string | null + username: string | null + } + Insert: { + created_at?: string | null + email?: string | null + full_name?: string | null + id: string + updated_at?: string | null + username?: string | null + } + Update: { + created_at?: string | null + email?: string | null + full_name?: string | null + id?: string + updated_at?: string | null + username?: string | null + } + Relationships: [ + { + foreignKeyName: "profiles_id_fkey" + columns: ["id"] + isOneToOne: true + referencedRelation: "users" + referencedColumns: ["id"] + }, + ] + } } Views: { [_ in never]: never