From e98476e055e8df630f039ad753585efed82c29af Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 30 Sep 2025 23:14:37 +0000 Subject: [PATCH] Add user_follows table type cgen-854a25ba4d4749848776fd3bbfa18621 --- client/lib/database.types.ts | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/client/lib/database.types.ts b/client/lib/database.types.ts index 5fc11805..c06f1274 100644 --- a/client/lib/database.types.ts +++ b/client/lib/database.types.ts @@ -287,6 +287,42 @@ export type Database = { }, ]; }; + user_follows: { + Row: { + created_at: string; + follower_id: string; + following_id: string; + id: string; + }; + Insert: { + created_at?: string; + follower_id: string; + following_id: string; + id?: string; + }; + Update: { + created_at?: string; + follower_id?: string; + following_id?: string; + id?: string; + }; + Relationships: [ + { + foreignKeyName: "user_follows_follower_id_fkey"; + columns: ["follower_id"]; + isOneToOne: false; + referencedRelation: "user_profiles"; + referencedColumns: ["id"]; + }, + { + foreignKeyName: "user_follows_following_id_fkey"; + columns: ["following_id"]; + isOneToOne: false; + referencedRelation: "user_profiles"; + referencedColumns: ["id"]; + }, + ]; + }; user_profiles: { Row: { avatar_url: string | null;