actor.hours_of_operation

When does this org_unit usually open and close? (Variations are expressed in the actor.org_unit_closed table.)

Cascading Deletes: Deleting rows from this table will cascade to: actor.org_unit.

Deferrable Constraints: The following FK constraints are deferrable — they are checked at transaction end, not statement end: hours_of_operation_id_fkey.

Columns

Column Type Nullable Default Notes

id PK FK

integer

No

actor.org_unit(id)

dow_0_open

time without time zone

No

'09:00:00'::time without time zone

When does this org_unit open on Monday?

dow_0_close

time without time zone

No

'17:00:00'::time without time zone

When does this org_unit close on Monday?

dow_0_note

text

Yes

dow_1_open

time without time zone

No

'09:00:00'::time without time zone

When does this org_unit open on Tuesday?

dow_1_close

time without time zone

No

'17:00:00'::time without time zone

When does this org_unit close on Tuesday?

dow_1_note

text

Yes

dow_2_open

time without time zone

No

'09:00:00'::time without time zone

When does this org_unit open on Wednesday?

dow_2_close

time without time zone

No

'17:00:00'::time without time zone

When does this org_unit close on Wednesday?

dow_2_note

text

Yes

dow_3_open

time without time zone

No

'09:00:00'::time without time zone

When does this org_unit open on Thursday?

dow_3_close

time without time zone

No

'17:00:00'::time without time zone

When does this org_unit close on Thursday?

dow_3_note

text

Yes

dow_4_open

time without time zone

No

'09:00:00'::time without time zone

When does this org_unit open on Friday?

dow_4_close

time without time zone

No

'17:00:00'::time without time zone

When does this org_unit close on Friday?

dow_4_note

text

Yes

dow_5_open

time without time zone

No

'09:00:00'::time without time zone

When does this org_unit open on Saturday?

dow_5_close

time without time zone

No

'17:00:00'::time without time zone

When does this org_unit close on Saturday?

dow_5_note

text

Yes

dow_6_open

time without time zone

No

'09:00:00'::time without time zone

When does this org_unit open on Sunday?

dow_6_close

time without time zone

No

'17:00:00'::time without time zone

When does this org_unit close on Sunday?

dow_6_note

text

Yes

Primary Key

(id)

Foreign Keys

Column(s) References On Delete On Update Deferrable Constraint

id

actor.org_unit(id)

CASCADE

NO ACTION

DEFERRED

hours_of_operation_id_fkey

Indexes

Index Method Definition

hours_of_operation_pkey PK

btree

CREATE UNIQUE INDEX hours_of_operation_pkey ON actor.hours_of_operation USING btree (id)