Add user_follows table type
cgen-854a25ba4d4749848776fd3bbfa18621
This commit is contained in:
parent
30e276b5a3
commit
e98476e055
1 changed files with 36 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue