Add user_follows table type

cgen-854a25ba4d4749848776fd3bbfa18621
This commit is contained in:
Builder.io 2025-09-30 23:14:37 +00:00
parent 30e276b5a3
commit e98476e055

View file

@ -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;