public.day_opening_time_override¶
Description¶
Columns¶
| Name | Type | Default | Nullable | Children | Parents | Comment |
|---|---|---|---|---|---|---|
| id | uuid | false | (DC2Type:uuid) | |||
| club_id | uuid | false | public.club | (DC2Type:uuid) | ||
| created_at | timestamp(0) with time zone | false | (DC2Type:datetimetz_immutable) | |||
| date | date | false | (DC2Type:date_immutable) | |||
| opens_at | varchar(255) | false | ||||
| closes_at | varchar(255) | false | ||||
| opened_hours | numeric(4,2) | NULL::numeric | true | |||
| is_opened | boolean | true |
Constraints¶
| Name | Type | Definition |
|---|---|---|
| fk_a33654cf61190a32 | FOREIGN KEY | FOREIGN KEY (club_id) REFERENCES club(id) |
| day_opening_time_override_pkey | PRIMARY KEY | PRIMARY KEY (id) |
Indexes¶
| Name | Definition |
|---|---|
| day_opening_time_override_pkey | CREATE UNIQUE INDEX day_opening_time_override_pkey ON public.day_opening_time_override USING btree (id) |
| idx_a33654cf61190a32 | CREATE INDEX idx_a33654cf61190a32 ON public.day_opening_time_override USING btree (club_id) |
| uniq_a33654cf61190a32aa9e377a | CREATE UNIQUE INDEX uniq_a33654cf61190a32aa9e377a ON public.day_opening_time_override USING btree (club_id, date) |
Relations¶
Generated by tbls