public.court_blocker_court
[BASE TABLE]
court_blocker_id
[uuid]
court_id
[uuid]
public.court_blocker
[BASE TABLE]
id
[uuid]
starts_at
[timestamp(0) with time zone]
ends_at
[timestamp(0) with time zone]
title
[varchar(255)]
created_at
[timestamp(0) with time zone]
updated_at
[timestamp(0) with time zone]
note
[text]
created_by_id
[uuid]
updated_by_id
[uuid]
FOREIGN KEY (court_blocker_id) REFERENCES court_blocker(id) ON DELETE CASCADE
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