public.court_image
[BASE TABLE]
court_id
[uuid]
image_id
[uuid]
public.court
[BASE TABLE]
id
[uuid]
name
[varchar(255)]
club_id
[uuid]
location_type
[varchar(255)]
match_type
[varchar(255)]
contentful_id
[varchar(64)]
is_active
[boolean]
sport_id
[uuid]
is_premium
[boolean]
FOREIGN KEY (court_id) REFERENCES court(id) ON DELETE CASCADE
public.image
[BASE TABLE]
id
[uuid]
type
[varchar(255)]
path
[varchar(255)]
url
[varchar(255)]
sort_index
[integer]
FOREIGN KEY (image_id) REFERENCES image(id) ON DELETE CASCADE